This project was generated with Angular CLI version 1.0.0.
sudo npm install -g @angular/cli
git clone https://github.com/VitProg/angular2_rest_cars_test
cd angular2_rest_cars_test
npm install
Edit environments/environment.prod.ts
and environments/environment.ts
, change restApi
to real url to cars rest api
Build project ng build
. In nginx config set root
to project/dist
directory
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
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.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.
Author - [email protected]