Remove Task Manager implementation to match `# Setup module` in module.md. Backend src/ reduced to Kernel.php + empty Entity/, all migrations deleted, database dropped and recreated. Frontend components/views/services/stores removed, App.vue/router/style.css reduced to skeletons. CLAUDE.md shortened to Setup-stand. Old backend/plan.md, plan2.md removed. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
66 lines
1.8 KiB
Markdown
66 lines
1.8 KiB
Markdown
# Haushalt
|
|
|
|
Basis-Software mit 3 geplanten Apps: Task Manager, Shopping List, Meal Planner.
|
|
|
|
Aktueller Stand: **Setup module** (siehe `module.md`) — minimales Symfony + Vue Gerüst, kein Feature-Code.
|
|
|
|
## Tech-Stack
|
|
|
|
| Schicht | Technologie |
|
|
|---------|------------|
|
|
| Backend | Symfony 7.4, PHP 8.3, Doctrine ORM |
|
|
| Frontend Web | Vue 3 (Composition API), Vite, Pinia, Vue Router 4 |
|
|
| Frontend Mobile | Kotlin + Jetpack Compose (noch nicht aufgesetzt) |
|
|
| Datenbank | MariaDB 10.11 (utf8mb4) |
|
|
| CORS | Nelmio CORS Bundle |
|
|
| Umgebung | DDEV |
|
|
|
|
## Struktur
|
|
|
|
```
|
|
backend/
|
|
src/
|
|
Kernel.php — Standard-Symfony-Kernel, keine App-Klassen
|
|
config/ — Symfony-Config (nelmio_cors, doctrine, framework, ...)
|
|
migrations/ — leer
|
|
public/index.php — Symfony-Einstieg
|
|
frontend/
|
|
src/
|
|
main.js — Vue-Init mit Pinia + Router
|
|
App.vue — RouterView, kein Content
|
|
router/index.js — Router mit leerem routes-Array
|
|
style.css — leer
|
|
index.html, vite.config.js
|
|
```
|
|
|
|
## Dokumentation
|
|
|
|
- **`base.md`** — Vision: was gebaut wird (3 Apps, Systeme, Datenbank-Skizze)
|
|
- **`module.md`** — Implementierungs-Schritte als Feature-Module (Backend + Frontend end-to-end pro Modul)
|
|
- **`CLAUDE.md`** (diese Datei) — Ist-Zustand des Codes
|
|
|
|
## Code-Konventionen
|
|
|
|
- **Sprache Code**: Englisch (Klassen, Methoden, Variablen)
|
|
- **Sprache UI**: Deutsch
|
|
- **Enum-Werte**: Englisch in DB und Code
|
|
- **Frontend**: Vue 3 Composition API mit `<script setup>`
|
|
|
|
## Development
|
|
|
|
```bash
|
|
# DDEV starten
|
|
ddev start
|
|
|
|
# Backend
|
|
ddev exec "cd backend && php bin/console cache:clear"
|
|
|
|
# Frontend
|
|
ddev exec "cd frontend && npm install"
|
|
ddev exec "cd frontend && npm run dev -- --host 0.0.0.0"
|
|
|
|
# URLs
|
|
Frontend: https://haushalt.ddev.site:5173
|
|
API: https://haushalt.ddev.site/api
|
|
```
|