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
The following technologies are used in this project:
- Create T3 App
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
Create a .env
file in the root directory of the project with the following content:
API_USERNAME=your_username
API_PASSWORD=your_password
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