This Django project involves two components:
- Backend server that fetches and stores data from Fitbit Cloud
- Frontend Web Dashboard that uses the backend server's REST API to show meaningful graphs in d3.js
-
Visit https://fitbit.com on your browser.
-
Logout of any accounts you are currently logged in with on fitbit.com.
What it looks like if you are logged in:
Use this logout button shown in the picture below
Note: We request you to log out from your current account on fitbit.com so that you can use a new account details for the new patient you would like to add. If you do not logout from any accounts already linked with our dashboard, you will simply be updating the existing account information and nothing else. So, we urge you to logout from existing accounts beforehand.
-
Now proceed to your deployed instance of fitbit-subscriber. (For our UIC live instance please visit here.
-
Use the admin credentials to log in
-
Once you are logged in, click the add patient button in the top right corner to add a new patient
Note: If you're now redirected back to the dashboard with no input from your side, it means that you have not logged out of fitbit.com as mentioned earlier. Please revisit the steps and try again.
- You should now see a screen like this which lets you login to fitbit.com
-
Enter your credentials and proceed to the next page.
-
You should now see a page that looks like something below
- Please click on the "Allow All" button and press the "Allow" button below as indicated in the picture below.
-
You should now be redirected back to the clinical dashboard with your new patient added.
-
Use the dropdown to select the new patient and view his history which should be available shortly.
Note: For the scope of this project, we are only receiving updates from the point the patient is connected with our platform. Any data prior to that date from Fitbit is not stored with us.