Sample REST Api written in java
Make sure you have Java installed. Also, install the Heroku Toolbelt.
$ git clone https://github.com/SKatiyar/handi.git
$ cd handi
$ ./gradlew stage
$ heroku local webYour app should now be running on localhost:5000.
$ git push heroku master