Skip to content

A python web app that records data on users' sleep & sleep-related behaviors, and provides users with insights into their insomnia. Fitbit API, charts.js

Notifications You must be signed in to change notification settings

k-wiz/insomnia-app

Repository files navigation

Insomnia Coach

Learn more about the developer: www.linkedin.com/in/kelliwiz

Insomnia Coach is a fullstack web application that helps users conquer their insomnia and get a better night's sleep. By collecting data on users' sleep and sleep-related behaviors, Insomnia Coach provides users with insights that help them better understand their sleep habits and insomnia triggers. The app's mission is to empower users to take responsibility for their own health.

Insights Dashboard Insights Dashboard Insights Dashboard Insights Dashboard Insights Dashboard

Technologies

Python, Flask, PostgresQL, SQLAlchemy, HTML/CSS, Bootstrap, Javascript, jQuery, AJAX, Fitbit API

Version 2.0

Fitbit OAuth

Users will be able to authorize the app via OAuth instead of Fitbit's implicit grant authorization flow, which requires a user to be currently logged in to Fitbit to gain access.

Treatment Modules

In the next iteration, The 'Treatment' tab will allow users to compare their insomnia 30 days before and 30 days after a treatment module is started. For example, a user will be able to eliminate caffeine for 30 days, and the app will track whether insomnia improves as a result.

Installation Instructions

To use this app with your own Fitbit, register your instance of the app here: https://dev.fitbit.com/apps/new, and then generate an access token here: https://dev.fitbit.com/apps/oauthinteractivetutorial.

About

A python web app that records data on users' sleep & sleep-related behaviors, and provides users with insights into their insomnia. Fitbit API, charts.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published