WebApp that tracks my daily sleeping habits 馃挙
Hosted on Heroku.
- Withings activit茅 (my device, any Withings or Nokia connected device will work)
- OAuth 2.0 code from Nokia
npm install
-
Generate an OAuth 2.0 Access/Refresh Token, following Nokia's guide
-
Export your
client_id
,client_secret
, andrefresh_token
, i.e,
export CLIENT_ID=XXX
export CLIENT_SECRET=XXX
export REFRESH_TOKEN=XXX
- Then run
npm start
ornode server.js
- Locally the website will run on port
5000