REST example project based on https://www.dropwizard.io/ framework. Project is build using Open JDK version 1.8 (JDK 11 will be supported with next dropwizard 2.x)
Before api start you have to start postgres database:
docker-compose up -d db
and to start project, execute gradle command:
./gradlew run
After that you can go check address:
http://localhost:8080/add?a=5&b=10
Project contains docker instructions to build:
docker build -t registry.balcia.com/balcia_dev/java/rest-dropwizard .
And run image after:
docker-compose up -d