Skip to content

quotaguard/parrotip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Parrot IP

A lightweight Express app that echoes back the request IP.

Format Options

JSON (/)

http://ip.quotaguard.com

$ curl http://ip.quotaguard.com
{"ip":"82.13.87.243"}

Text (/plain)

http://ip.quotaguard.com/plain

$ curl http://ip.quotaguard.com/plain
82.13.87.243

Running Locally

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.

Deploying to Heroku

$ heroku create
$ git push heroku master
$ heroku open

Documentation

For more information about using Node.js on Heroku, see these Dev Center articles:

About

Express app that echoes back your IP address.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published