- Server Side rendering for instant page loading
- Preboot to catch browser events before Angular2 is ready to work.
- Webpack and its Code Splitting feature which allows us to lazy load parts of an application if needed.
- Live Reloading, a browser will be reloaded on any change in server or browser code. It works well for both a main thread and web workers.
- TypeScript 2
- Linting with TSLint
- Express - de facto standard for Node.js web apps.
- PM2 - most advanced Node.js process manager
- Unit testing with Karma
- End-to-End testing with Protractor
yarn install
(npm install will still work)
npm start
to build your client app and start a web servernpm run build
to prepare a distributable bundle
- run
npm start
andnpm run watch
in two separate terminals to build your client app, start a web server, and allow file changes to update in realtime
npm run watch
to build your client app and start a web server
npm run build:prod:ngc
to compile the ngfactory files and build prod