- use node version 10.19.0
- angular-cli version 9.0.3
- angular : 9.0.3
npm start
/questions/ [GET]
/{id}/vote/ [POST]
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 ng build --prod
to build the project.
The build artifacts will be stored in the dist/
directory.
Run ng test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via Protractor.