This project was generated with Angular CLI version 8.0.0.
This course is made of an angular app, that will evolve along the chapters, and a FAKE data server, made with JSON server.
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Run node server/server.js
to launch the fake data server in http://localhost:3000
.
The data is served and stored in: server/db.json
.
The endpoints available are:
contacts
contacts/{id}
users
users/{id}
Any request should be made setting a bearer token authentication in the request headers, matching the auth token of some of the users in database (for example Authorization: Bearer 1234567890
).
- Pen icon made by Icongeek26 from www.flaticon.com
- Garbage icon made by Anatoly from www.flaticon.com
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory. Use the --prod
flag for a production build.
Run ng test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via Protractor.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.