Ensure having JDK 8 installed.
export JAVA_HOME=`/usr/libexec/java_home -v 1.8`
To build & run via command line shell:
./gradlew clean build && java -server -jar build/libs/boot-rest.jar
Or simply run
Application.main() via IDEA (14.1+ with latest Lombok plugin recommended).
An endpoint to play with:
curl -i localhost:8888/api/messages
SPA frontend UI resides at root URL, BTW.
Admin endpoints, powered by Spring Boot, at:
REST API docs, powered by Swagger (UI), at:
Generated ones, via Asciidoctor, at:
Note: this thing is ready to be deployed on Heroku (and verified to run packaged as WAR in Tomcat 8 as
FYI: using Spring Data Elasticsearch as embedded data source provider for fun & DRYness.
PS: Bootstrap/Angular SPA is developed & built with the help of Yeoman, Gulp, and JSPM/ES6...
So, you'll need to have Node.js/NPM as well as JSPM and Gulp CLI (globally) installed.