This project was created by Angular and deployed as a Github Page.
- This project will run on
node.js
environment. - This is the frontend service, so to run this, you may need to run backend api on your local and change the environment.ts to refer the correct api url.
- By default, api url for the local environment is http://localhost:3000, you can check the environment.ts.
- Or you can use the hosted api - https://user-portal-api-v1.herokuapp.com, you can check the environment.prod.ts.
- We are using Tailwindcss for the UI components, you can find out the default team from tailwind.config.js
- To improve the performance, we are trying to handle Change Detection Strategy carefully.
- Hosted on Github, and CI/CD configured using Github Actions and Github Pages
- Github action will check code quality, such as lint, unit test for each git push actions
- When you push your code to the
master
branch, the action will deploy your changes to the hosting. - Each of your pushes will be automatically tested by the action.
- Code coverage supported.
$ npm install
$ npm run start
# Or if you have @angular/cli installed globally on your computer
$ ng serve
# unit tests
$ npm run test
# lint check
$ npm run lint