geo-ip-service

![npm][npm-image]

Usage no npm install needed!

<script type="module">
  import geoIpService from 'https://cdn.skypack.dev/geo-ip-service';
</script>

README

Geo IP lookup service

![npm][npm-image]

HTTP API to look up geo information by IP. Uses maxmind.

Project

This service:

  • run npm install followed by npm start,
  • (install will take a bit depending on your internet connection, downloads a file ~55-60Mb on clean install)
  • if you provide MAXMIND_LICENSE_KEY, postbuild script will update the database with the latest one from maxmind servers (TODO)
  • if all goes well server should be listening @ localhost:3000 or whatever port you provide via env vars

Deploying to Heroku

heroku create
git push heroku master
heroku open

or

Deploy to Heroku

Documentation

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