WebApp that tracks my daily sleeping habits 💤
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
public
views
.gitignore
Dockerfile
LICENSE
README.md
package.json
server.js

README.md

uglysleep.today

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