Skip to content

springboot-angular2-tutorial/angular2-app

Repository files navigation

Angular2 Tutorial

Build Status Coverage Status

This repository is an example application for angular2 tutorial.

Demo

  • Ahead-of-time compilation
  • Lazy Loading
  • Preloading
  • CSS in JS by using Aphrodite
  • Hot module reload

Getting Started

Prepare backend app.

git clone https://github.com/springboot-angular2-tutorial/boot-app.git
cd boot-app
mvn spring-boot:run

Serve frontend app by webpack-dev-server.

npm install -g yarn
yarn install
yarn start
open http://localhost:4200

Testing.

yarn test

Production build.

yarn run build
yarn run server:prod
open http://localhost:4200

Tutorial

Under construction...

Related Projects

Credits

License

MIT