- Angular 2 ( 2.1 release )
- ExpressJS ( 4.x - with compression )
- Webpack ( angular-cli )
- Redux ( NgRx/Store - with server calls)
git clone https://github.com/vladotesanovic/angular2-express-starter
cd angular2-express-starter
# Install dependencies
npm install
# start server
npm run start
# Client url: http://localhost:4200
# Application ( epxress ) API: http://localhost:4300
npm run build
## Deploy dist folder to app server
Structure of dist folder:
/dist/server <-- expressjs
/dist/client <-- angular2