Files
gartenmanager/.claude/session-context.md
Faultier314 834a3bf4d5 feat: Phase 1 complete – full working application
Backend (FastAPI):
- REST API: auth, plants, beds, plantings
- CRUD layer with CRUDBase
- Pydantic v2 schemas for all entities
- Alembic migration: complete schema + all enums
- Seed data: 28 global plants + 15 compatibilities

Frontend (Vue 3 + PrimeVue):
- Axios client with JWT interceptor + auto-refresh
- Pinia stores: auth, beds, plants
- Views: Login, Beds, BedDetail, PlantLibrary
- Components: AppLayout, BedForm, PlantingForm, PlantForm

Docker:
- docker-compose.yml (production)
- docker-compose.dev.yml (development with hot-reload)
- Nginx config with SPA fallback + API proxy
- Multi-stage frontend Dockerfile
- .env.example, .gitignore

Version: 1.0.0-alpha
2026-04-06 07:45:00 +02:00

1.7 KiB
Raw Blame History

Session-Kontext

Claude liest diese Datei zu Beginn jeder Session. Claude aktualisiert sie am Ende jeder Session.


Aktueller Stand

Feld Wert
Version 1.0.0-alpha
Aktiver Branch feature/phase-1
Basis-Branch develop
Zuletzt geändert 2026-04-06

Phase 1 Status: ABGESCHLOSSEN ✓

Alle Dateien implementiert und gepusht. System ist startbereit.

Offene Arbeit nächste Session

Phase 1 ist fertig. Nächste Schritte nach Rücksprache mit Nutzer:

  1. System testen docker compose -f docker-compose.dev.yml up ausführen und manuell prüfen
  2. Ersten Superadmin anlegen Es gibt noch kein UI dafür, muss per DB-Insert oder API-Skript erfolgen
  3. Phase 2 starten Testing & CI/CD (Gitea Actions, pytest, Vitest, Playwright)

Hinweis: Superadmin erstellen

Noch kein UI vorhanden. Seed-Skript oder direkt per Python:

docker compose exec backend python3 -c "
import asyncio
from app.db.session import AsyncSessionLocal
from app.models.user import User
from app.core.security import get_password_hash
import uuid

async def create():
    async with AsyncSessionLocal() as db:
        user = User(id=uuid.uuid4(), email='admin@example.com',
                    hashed_password=get_password_hash('changeme'),
                    full_name='Superadmin', is_superadmin=True)
        db.add(user)
        await db.commit()
        print('Superadmin erstellt.')
asyncio.run(create())
"

Schnellreferenz

# Entwicklungsumgebung starten
docker compose -f docker-compose.dev.yml up

# Version bumpen
bash .claude/scripts/bump.sh patch "Was wurde geändert"

# Neuen Branch erstellen
bash .claude/scripts/new-feature.sh feature <name>