Skip to content

pozhilsrini/boot-angular2-webpack-starter

 
 

Repository files navigation

Spring Boot and Angular2 Webpack Starter (from AngularClass)

An Angular 2 starter kit using Spring Boot and the Angular2 Webpack Starter from @AngularClass.

##Spring Boot A Gradle-based Spring boot project with:

  • Groovy
  • spring-cloud-starter-config
  • spring-boot-devtools
  • spring-boot-starter-security
  • spring-boot-starter-web
  • 2 Gradle tasks (dev and prod) to the default build.
./gradlew dev
  • builds the client resources using the Angular2 webpack starter's build:dev task
  • puts the resources into the resources directory
  • sets the springProfilesActive to development
  • calls the bootRun task.
./gradlew prod
  • builds the client resources using the Angular2 webpack starter's build:prod task
  • puts the resources into the resources directory
  • sets the springProfilesActive to production
  • calls the bootRun task.

Note: To minimize the changes between this project and the Angular2 Webpack Starter, the default src/main/groovy and src/main/resources directories have been changed to srv/main/groovy and srv/main/resources respectively.

Angular Class ##AngularClass

Learn AngularJS, Angular 2, and Modern Web Development from the best. Looking for corporate Angular training, want to host us, or Angular consulting? patrick@angularclass.com

License

MIT

About

Spring Boot and Angular 2 Webpack Starter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 53.7%
  • TypeScript 38.4%
  • HTML 6.4%
  • Groovy 1.5%