Diligence — self-hosted fitness rewards platform with AI coaching. Open-source, MIT licensed.
Find a file
2026-06-15 14:29:53 +00:00
backend Deliver Step 1: Backend cleanup — secrets scrubbed, is_admin column, Telegram optional, crypto service, v4-v7 migrations, .env.example, setup.sh 2026-06-15 14:29:53 +00:00
content Add 3-day fast operational protocol (hour-by-hour) 2026-04-16 15:16:24 +00:00
frontend Feature: nutrition module (keto macros + intermittent fasting + electrolytes) 2026-04-12 05:13:52 +00:00
.env.example Deliver Step 1: Backend cleanup — secrets scrubbed, is_admin column, Telegram optional, crypto service, v4-v7 migrations, .env.example, setup.sh 2026-06-15 14:29:53 +00:00
.gitignore Deliver Step 1: Backend cleanup — secrets scrubbed, is_admin column, Telegram optional, crypto service, v4-v7 migrations, .env.example, setup.sh 2026-06-15 14:29:53 +00:00
docker-compose.yml Deliver Step 1: Backend cleanup — secrets scrubbed, is_admin column, Telegram optional, crypto service, v4-v7 migrations, .env.example, setup.sh 2026-06-15 14:29:53 +00:00
README.md Initial commit: full fitness-rewards app 2026-03-14 23:53:00 +00:00
setup.sh Deliver Step 1: Backend cleanup — secrets scrubbed, is_admin column, Telegram optional, crypto service, v4-v7 migrations, .env.example, setup.sh 2026-06-15 14:29:53 +00:00

Fitness Rewards

Personal fitness web app with a points-based behavioral economy. Earn points through fitness activities, spend them on real-world rewards.

Stack

  • Backend: FastAPI + PostgreSQL + SQLAlchemy (async)
  • Frontend: React + Vite
  • Deployment: Docker Compose via Coolify

Quick Start (Development)

# Backend
cd backend
python -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt
uvicorn app.main:app --reload

# Frontend
cd frontend
npm install
npm run dev

Deploy (Production)

cp .env.example .env
# Edit .env with real secrets
docker compose up -d --build

Features

  • Science-based onboarding (PAR-Q+, TTM Stages of Change, BREQ-2)
  • Points economy with configurable earning rules and rewards
  • Daily gate: earn your daily minimum before unlocking rewards
  • Weekly targets with reset
  • Strava + Polar integration (OAuth 2.0)
  • Open Food Facts barcode scanning for food logging
  • Curated external fitness resources (Darebee, StrongLifts, YouTube)
  • 90-day program commitment tracking
  • Mobile-first PWA design