hellth-hub/.env.example
Sebastian Mayer 2436dd9cac Initial commit: Hellth Hub monorepo
Mobile-first Web-App fuer persoenliches Health-, Ernaehrungs-,
Aktivitaets- und Einkaufs-Tracking im Home-Lab-Betrieb.

Stack: pnpm Monorepo - Next.js 16 + React 19 + Tailwind (apps/admin) -
Hono + tRPC + Better Auth mit 2FA und Passkeys (packages/api) -
PostgreSQL + Drizzle ORM (packages/db) - Docker fuer Postgres und pgAdmin.

Module:
- Auth mit Login, 2FA (TOTP + Backup-Codes), Passkeys und Admin-Recovery
- Tagesansicht mit Essen, Trinken, Gewicht, Aktivitaeten und Coach-Hinweisen
- Lebensmittelkatalog mit Naehrwerten, Portionen, OCR/Barcode/Open Food Facts
- Rezepte mit Live-Naehrwertberechnung und Community-Vorschlaegen
- Essensplanung und Wochenbudget mit Sportbonus
- Einkaufslisten mit Maerkten und Laufweg-Sortierung
- Hellfireclub mit Aktivitaetspunkten und gemeinsamer Aktivitaetsplanung
- Wearables-Vorbereitung (Fitbit / Google Fit / Health Connect)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-27 22:15:16 +02:00

29 lines
928 B
Text

# Datenbank
DATABASE_URL=postgresql://hellth:hellth_dev@localhost:5432/hellth_hub
# Better Auth, in Produktion durch starkes Secret ersetzen
BETTER_AUTH_SECRET=change-me-in-production-use-openssl-rand-base64-32
BETTER_AUTH_BASE_URL=http://localhost:3002
PASSKEY_RP_NAME=Hellth Hub
# API
API_PORT=3002
TRUSTED_ORIGINS=http://localhost:3001
NEXT_PUBLIC_API_URL=http://localhost:3002
TRUST_PROXY_FORWARD_HEADERS=false
DATABASE_REQUIRE_SSL=false
ENABLE_DB_MIGRATIONS=false
# Plattform-Admin, kommasepariert
PLATFORM_ADMIN_EMAILS=admin@domain.tld
NEXT_PUBLIC_PLATFORM_ADMIN_EMAILS=admin@domain.tld
# Initialer Admin-User
ADMIN_EMAIL=admin@domain.tld
ADMIN_INITIAL_PASSWORD=please-set-a-strong-password-with-16-plus-chars
# Wearables: Fitbit OAuth, optional
FITBIT_CLIENT_ID=
FITBIT_CLIENT_SECRET=
FITBIT_REDIRECT_URI=http://localhost:3002/api/wearables/fitbit/callback
WEARABLE_TOKEN_ENCRYPTION_KEY=change-me-32-byte-base64-key