A boilerplate for Server side rendered Angular 2 web applications using TypeScript 2
Note: This project is under active development. However can be used for reference.
- Server-Side Rendering for Angular 2
- Express REST Server
- Mongodb Database
- Webpack Module loader
- JWT authentication
- In-memory Template caching
git clone --depth=1 git@github.com:codefoxes/angular2-hackathon-starter.git a2hscd a2hsnpm i -g cordova ionicnpm installnpm i -g phonegap(Optional - To use with Phonegap developer app)
npm startto build your client app and start a web servernpm run buildto prepare a distributable bundle
- run
npm startandnpm run watchin two separate terminals to build your client app, start a web server, and allow file changes to update in realtime ionic serveto start ionic serverionic platform add androidto prepare android buildionic build androidto build android appphonegap serveto serve to Phonegap Developer App
npm run watchto build your client app and start a web server