feat(sync): sync all FDISK members, auto-creating dashboard accounts for users not yet logged in

This commit is contained in:
Matthias Hochmeister
2026-04-15 14:36:57 +02:00
parent dab4a45b79
commit 719b7bfcdb
12 changed files with 1086 additions and 8 deletions

24
CLAUDE.md Normal file
View File

@@ -0,0 +1,24 @@
# Feuerwehr Dashboard — Project Rules
## Stack
- **Frontend:** React / Vite / MUI / TypeScript (`frontend/`)
- **Backend:** Node / Express / TypeScript (`backend/`)
- **DB:** PostgreSQL — migrations in `backend/src/database/migrations/`
- **Deployment:** Docker Compose — never run Docker commands locally
## Migrations
- All migrations must be idempotent (safe to run multiple times)
- Verify column and table names match existing schema before writing
- Never rename env vars used by external systems without explicit approval
## Data Safety
- "Purge user data" means delete records / preferences / history only — never delete user accounts
## Debugging Scope
- When debugging, only touch files directly related to the change you made
- Never edit files in another layer without explicit permission
- If a fix requires a cross-layer change, report it rather than making it unilaterally
## Multi-Agent Work
- After all agents complete, run a verification pass: build, migrations, UI states, modal behavior
- All agent task descriptions must be self-contained (file paths, patterns, acceptance criteria)