Simple Spring MVC Hello World Java application prepared for Heroku deployment.
curl https://[Heroku App Name].herokuapp.com/hello
Java and Maven need to be installed locally. Make sure the Heroku CLI is installed.
git clone https://github.com/htutman/maven-springmvc-rest-hw.git
cd maven-springmvc-rest-hw
mvn clean package
heroku local:start
curl localhost:5000/hello