Initial commit: Mathe-App Phase 1-3

- React+Vite Frontend mit Routing, eigenem fetch-Client (kein axios)
- Express Backend: Auth (JWT), Topics, Tasks, Leaderboard
- PostgreSQL Schema + Seed: 7 Kategorien, 21 Topics, ~25 Aufgaben
- Gamification: XP, Level (100×n^1.5), tägliche Streaks
- docker-compose auf Port 3100 für DS1621
- Alltagsaufgaben: Finanzen, Geometrie, Physik, Informatik, Verkehr, Shopping
This commit is contained in:
rene 2026-04-06 17:24:35 +02:00
commit c8b354ed45
49 changed files with 6127 additions and 0 deletions

11
.env.example Normal file
View file

@ -0,0 +1,11 @@
DB_HOST=db
DB_PORT=5432
DB_NAME=matheapp
DB_USER=mathe
DB_PASSWORD=changeme
JWT_SECRET=changeme_use_long_random_string
JWT_REFRESH_SECRET=changeme_use_another_long_random_string
FRONTEND_URL=http://localhost:3000
PORT=3001