Skip to content

dantebronto/node-geo-locator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

install and start mongo db
gem install mongo_mapper
gem install bson_ext
run `ruby load_data.rb` to initialize the database
start the server with `node api.js`

query the service like:

$.getJSON('http://service_address.com/ip/w.x.y.z?callback=?', function(data){ 
  console.log(data.city)
})

About

IP Geo Locator using Ruby, MongoDB, and Picard for node.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published