chore: update session-context with partial backend file inventory
This commit is contained in:
@@ -18,12 +18,24 @@
|
||||
|
||||
Phase 1 implementieren. Reihenfolge:
|
||||
|
||||
1. **Backend** (Agent-Tool mit vollständiger Spec) – alle Dateien unter `backend/`
|
||||
1. **Backend** – teilweise bereits vorhanden (siehe unten), fehlende Teile ergänzen
|
||||
2. **Frontend** (Agent-Tool) – alle Dateien unter `frontend/`
|
||||
3. **Docker** – `docker-compose.yml`, `docker-compose.dev.yml`, `.env.example`
|
||||
4. Docs aktualisieren, VERSION auf 1.0.0-alpha bumpen, commit + push
|
||||
|
||||
### Backend-Spec (fertig ausgearbeitet, direkt verwenden):
|
||||
### Backend – bereits vorhanden (committet, Qualität noch nicht geprüft):
|
||||
```
|
||||
backend/Dockerfile, alembic.ini, requirements.txt
|
||||
app/core/: config.py, security.py, deps.py
|
||||
app/db/: base.py, session.py
|
||||
app/models/: user.py, tenant.py, plant.py, bed.py, planting.py
|
||||
app/schemas/: auth.py, user.py, tenant.py
|
||||
```
|
||||
**Noch fehlend:** main.py, crud/, api/, seeds/, alembic/env.py + versions/001_initial.py, schemas/plant.py + bed.py + planting.py
|
||||
|
||||
**Zu Beginn:** vorhandene Dateien kurz prüfen (Konsistenz, async, UUID), dann fehlende ergänzen.
|
||||
|
||||
### Backend-Spec (Referenz):
|
||||
- FastAPI + SQLAlchemy async + Alembic + PostgreSQL (asyncpg)
|
||||
- Models: User, Tenant, UserTenant, PlantFamily, Plant, PlantCompatibility, Bed, BedPlanting
|
||||
- Rollen: READ_ONLY / READ_WRITE / TENANT_ADMIN + Superadmin-Flag auf User
|
||||
|
||||
Reference in New Issue
Block a user