Simple Gradle Spring Boot REST Hello World Java application prepared for Heroku deployment.
curl https://[Heroku App Name].herokuapp.com/hello
Java and Gradle need to be installed locally. Make sure the Heroku CLI is installed.
git clone https://github.com/htutman/gradle-springboot-rest-hw.git
cd gradle-springboot-rest-hw
gradle clean build
heroku local:start
curl localhost:5000/hello