Demo of Jawbone UP authentication and API access using passport and the jawbone-up Javascript API wrapper
JavaScript
Latest commit a1f5628 Mar 15, 2014 @maxutter Update README.md
Permalink
Failed to load latest commit information.
lib removed an unused profile file Mar 14, 2014
LICENSE Initial commit Mar 13, 2014
README.md Update README.md Mar 15, 2014
app.js route corrections Mar 15, 2014
package.json fixed typo in package.json Mar 14, 2014

README.md

up-api-auth-demo

Demo of Jawbone UP authentication and API access using passport, node-jawbone-up and mongoose on node. It authenticates through jawbone oauth2, pulls the users name, steps and sleep and stores the user and access token in a mongo database.

TO INSTALL: npm install

TO RUN: NODE_PATH=lib node app.js

  • setting the PATH at runtime is required to support the modular file structure.

TO INSTALL FREE MONGO DB: http://www.mongodb.org/downloads

TO CONFIGURE:

  1. Sign up for app permissions on jawbone and facebook(optional)
  2. Configure the servers in config/auth.js to be yours
  3. Configure the mongo db settings in app.js

Passport, node-jawbone-up and mongoose will install with up-api-auth-demo.

For info on passport, node-jawbone-up and mongoose check out:

https://github.com/jaredhanson/passport

https://github.com/ryanseys/node-jawbone-up

https://github.com/LearnBoost/mongoose