Back to projects

Apple Health Tracker

Personal health data pipeline: collects Apple Health metrics and delivers daily analytics to Slack

Apple Health Tracker screenshot

Overview

A personal health data pipeline that automatically collects metrics from Apple Health (via Apple Watch, Calorie Striker, and other health apps) and processes them into actionable insights. Every hour, Auto Export sends health data to a custom FastAPI backend. A daily scheduled job analyzes the data and delivers beautiful charts directly to Slack.

Why I Built This

Obsessed with data and its collection, I optimized my data capture with my Apple Watch and a calorie tracking app. I wanted to leverage this data — daily charts on Slack are just the beginning.

How It Works

  • Data Collection — Apple Watch and health apps continuously track metrics (steps, calories, heart rate, sleep, etc.)
  • Auto Export — Third-party app sends health data to the API every hour automatically
  • API & Storage — FastAPI backend receives and stores all metrics in SQLite database
  • Daily Analytics — Scheduled job runs statistical analysis and generates charts with Matplotlib
  • Slack Delivery — Charts and insights are delivered to a personal Slack channel every day

Tech Stack

Backend

Python FastAPI SQLAlchemy SQLite

Data & Visualization

Pandas NumPy Matplotlib

Infrastructure

Docker APScheduler Slack SDK