Based off thousandeyes/simple-webhook-server.
Current purpose: accept webhook posts from api.ai, interacting with Bitbucket and Slack along the way.
For information This application support the Getting Started with Node on Heroku article - check it out.
$ git clone https://github.com/rogersp/simple-webhook-server.git # or clone your own fork
$ cd simple-webhook-server
Copy .env.sample
to .env
and modify as desired.
$ npm install
$ npm start
Your app should now be running on localhost:5000.
Make sure you have Node.js and the Heroku Toolbelt installed.
$ heroku create
Now go modify Config Vars in Heroku app settings, using .env.sample
as a guide.
$ git push heroku master
$ heroku open
$ heroku logs --tail