/sleep-data

Visualize sleep data from smart mattress, Eight, on the web

Primary LanguageJavaScript

Sleep behavior, visualized

Visualize sleep data from smart mattress, Eight, on the web. The app displays the sleep data of a user in a meaningful way, with the ability to switch the currently displayed user and date.

Install Instructions

Follow the following instructions from the command line.

First clone the repo to your local machine, with command:

git clone git@github.com:cmugla/sleep-data.git

Then run the npm install:

npm install

Build the distribution files, use command:

npm run build

Run the server, use command:

nodemon

Then, go to http://localhost:3000/ to view the page.

Troubleshooting

Given the tight timeframe, this app was not built mobile-first nor was it tested on multiple browsers or devices. The recommended browser is Chrome, device is desktop or laptop computer.

Shout Outs

The API and assignment was provided by Eight Sleep