Skip to content

LucasFerguson/health-connect-dashboard-for-fitbit

Repository files navigation

Project Overview

We developed a dashboard for users to view health metrics collected from a smartphone and wearable device. The main feature we were able to implement is an interactive sleep summary in a calendar view. Users can easily click on any day in the calendar to see more details from that day. The dashboard is built using the T3 stack, which includes Next.js and Tailwind CSS.

Roadmap:

  • Implement a calendar view for sleep data - 2025-05-07
  • Docker support for easy deployment - 2025-06-28
  • Allow users to click on a day in the calendar to view detailed sleep data

Tech Stack

The following technologies are used in this project:

Deployment

Environment Variables

Use docker compose to set environment variables with the followoing example:

services:
  dashboard:
    image: lucaslad5275/hc-dashboard:1.0
    container_name: health-connect-dashboard
    ports:
      - "3000:3000"
    environment:
      - API_USERNAME=EDIT_ME
      - API_PASSWORD=EDIT_ME
      - API_URL=http://192.168.8.238:6644
    restart: unless-stopped

OR

Create a .env file in the root directory of the project with the following content:

API_USERNAME=your_username
API_PASSWORD=your_password

Building and Running the Dashboard

Make sure you have Docker installed on your machine.

Run the following command to build the Docker image for the dashboard:

docker build -t lucaslad5275/hc-dashboard:1.0 .

Run the following command to start the Docker container:

docker run -p 3000:3000 lucaslad5275/hc-dashboard:1.0

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published