Sample repository to showcase spring boot
Mostly adapted from
https://spring.io/guides/gs/messaging-stomp-websocket/
The spinner is adapted from
https://github.com/JesseDahl/d3.spinner
This project uses bower to manage the javascript dependencies and npm do manage the build dependencies for the frontend.
This is all integrated into the maven build chain
mvn compile -P generate-frontend
This takes the sources found in src/main/frontend
and builds a compressed and minified version into src/main/webapp
which is actually used.
This will require maven >= 3.1
Gulp is used as frontend build tool, the minified sources are not checked in.
A good introduction to merging the frontend and backend toolchain can be found here
Spring Framework 4.1 Resource Handling example https://github.com/bclozel/spring-resource-handling/tree/master
To start in development mode, set the spring profile to development
and
the src/main/frontend
folder will be served directly.