Skip to content
JDK 8 + Spring Boot + Spring Data Elasticsearch + Jersey 2 + Gradle + Yeoman + Bootstrap + AngularJS...
JavaScript CSS HTML Java
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
docs/html5
gradle/wrapper
src
.gitattributes
.gitignore
LICENSE.txt
Procfile
README.md
build.gradle
gradlew
gradlew.bat
system.properties

README.md

Boot REST

Ensure having JDK 8 installed.

Get it here:
http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

Then, e.g.:

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).

Also (pre-packaged):

bin/run.sh

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:
/manage/* (auth-protected)
REST API docs, powered by Swagger (UI), at:
/api-docs/index.html
Generated ones, via Asciidoctor, at:
/docs/index.html

Note: this thing is ready to be deployed on Heroku (and verified to run packaged as WAR in Tomcat 8 as ROOT context).

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.

You can’t perform that action at this time.