Skip to content

Latest commit

History

History
31 lines (20 loc) 路 723 Bytes

README.md

File metadata and controls

31 lines (20 loc) 路 723 Bytes

Sleep WebApp that tracks my daily sleeping habits 馃挙

Hosted on Heroku.

Requirements

  • Withings activit茅 (my device, any Withings or Nokia connected device will work)
  • OAuth 2.0 code from Nokia

Build

npm install

Run

  • Generate an OAuth 2.0 Access/Refresh Token, following Nokia's guide

  • Export your client_id, client_secret, and refresh_token, i.e,

export CLIENT_ID=XXX
export CLIENT_SECRET=XXX
export REFRESH_TOKEN=XXX
  • Then run npm start or node server.js
  • Locally the website will run on port 5000