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
todevelopment
- 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
toproduction
- calls the
bootRun
task.
Note: To minimize the changes between this project and the Angular2 Webpack Starter, the default
src/main/groovy
andsrc/main/resources
directories have been changed tosrv/main/groovy
andsrv/main/resources
respectively.
Learn AngularJS, Angular 2, and Modern Web Development from the best. Looking for corporate Angular training, want to host us, or Angular consulting? [email protected]