0- install nodejs and npm _ https://nodejs.org/
1- install Angular cli _ https://cli.angular.io/ npm install -g @angular/cli
3- inside project directory run: npm install
3- run: ng serve --open old: ng serve --proxy-config .\proxy.conf.json --open (proxy used for allow change origin "CORS" and rewrite /api url)
- current user info is saved in the browser's coockies: localStorage
- Token is sent with Authorization header in every request using: HttpInterceptor
- (auth/jwt.service.ts)
every rout has "allowed roles" identified array, and the user allowed to access is checked by every route changing
- (admin/admin-routing.module.ts)
- (auth/auth.service.ts)
- angular 8
- angular material is used
- css: scss