Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 1.27 KB

README.md

File metadata and controls

36 lines (25 loc) · 1.27 KB

nodejs/restify/MongoDB app to record iBeacon ranging

This app saves requests from an iOS app with iBeacon info based on ranging events and saves them to a mongoDB database.

Running Locally

Make sure you have Node.js and MongoDB

git clone git@github.com:cupojoe/ibeacon-nodejs.git # or clone your own fork
cd ibeacon-nodejs
npm install
node start

Your app should now be running on localhost:5000.

Deploying to Heroku (not required, you can deploy to other servers as long as you have node.js installed)

For this part you need the Heroku Toolbelt installed.

heroku create
git push heroku master
heroku open

Documentation

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