Skip to content

🔥 Angular2 starter kit — production ready universal web app boilerplate (Angular 2, Server Side Rendering, Node.js/Express, Webpack, GZip)

License

Notifications You must be signed in to change notification settings

peter-mach/angular2-starter-kit

Repository files navigation

Please Star

What we've got here

  • 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

Installation

  • yarn install (npm install will still work)

Serve

  • npm start to build your client app and start a web server
  • npm run build to prepare a distributable bundle

Development

  • run npm start and npm run watch in two separate terminals to build your client app, start a web server, and allow file changes to update in realtime

Watch files

  • npm run watch to build your client app and start a web server

AoT and Prod

  • npm run build:prod:ngc to compile the ngfactory files and build prod

About

🔥 Angular2 starter kit — production ready universal web app boilerplate (Angular 2, Server Side Rendering, Node.js/Express, Webpack, GZip)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •