VitProg / angular2_rest_cars_test

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Angular2 REST Cars Test

This project was generated with Angular CLI version 1.0.0.

Installation

sudo npm install -g @angular/cli
git clone https://github.com/VitProg/angular2_rest_cars_test
cd angular2_rest_cars_test
npm install

Configuration

Edit environments/environment.prod.ts and environments/environment.ts, change restApi to real url to cars rest api

Nginx

Build project ng build. In nginx config set root to project/dist directory

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 to build the project. The build artifacts will be stored in the dist/ directory. Use the -prod flag for a production build.

Running unit tests

Run ng test to execute the unit tests via Karma.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.

Author - vitprog@gmail.com

About


Languages

Language:TypeScript 75.7%Language:HTML 14.8%Language:JavaScript 8.0%Language:CSS 1.4%