A simple project to demonstrates how to receives Github issues webhooks, save to in-memory database and expose them with an endpoint
PLUS: You can test it deploying on Heroku. =D
You should have Git, Java, Gradle and Heroku-cli installed.
$ git clone https://github.com/lennonjesus/octo-events-api.git && cd octo-events-api
$ gradle clean test
$ gradle run
$ gradle --stop
$ heroku create
$ git push heroku master
$ heroku ps:scale web=1
POST /hooks/github
GET /issues/[ISSUE-ID]/events