A lightweight Express app that echoes back the request IP.
$ curl http://ip.quotaguard.com
{"ip":"82.13.87.243"}
http://ip.quotaguard.com/plain
$ curl http://ip.quotaguard.com/plain
82.13.87.243
Make sure you have Node.js installed.
$ git clone [email protected]:quotaguard/parrotip.git # or clone your own fork
$ cd parrotip
$ npm install
$ npm start
Your app should now be running on localhost:5000.
$ heroku create
$ git push heroku master
$ heroku open
For more information about using Node.js on Heroku, see these Dev Center articles: