Skip to content

paige0701/django-practice-ui

Repository files navigation

DjangoPracticeUi

  • use node version 10.19.0
  • angular-cli version 9.0.3
  • angular : 9.0.3

to start server

npm start

Urls

/questions/ [GET]
/{id}/vote/ [POST]

Development 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.

Build

Run ng build --prod to build the project.

The build artifacts will be stored in the dist/ directory.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor.

Proxy

- Check proxy.conf.json file