- npm install
- ------- development mode -------
- angular2 runs in port 8080 and API server(express) runs in port 3000
- make sure that "NODE_ENV=development" (in .env [ee-en-ve])
- run "npm start"
- open localhost:8080 in browser
- start browser with http://localhost:8080
- ------- production mode --------
- all run in port 3000
- run "gulp build-production"
documentation based on angular 2.0.0 final