Tech Stack
| Schicht | Technologie | Version | Lizenz |
|---|---|---|---|
| Frontend | SvelteKit + TypeScript | 2.x / 5.x | MIT |
| Styling | Tailwind CSS | 3.x | MIT |
| Backend | FastAPI | 0.115.x | MIT |
| ORM | SQLAlchemy (async) | 2.0.x | MIT |
| Datenbank | PostgreSQL | 16 | PostgreSQL |
| Validation | Pydantic | 2.x | MIT |
| Barcode Scan | html5-qrcode | 2.3.x | Apache 2.0 |
| Food Data | Open Food Facts API | โ | ODbL |
| Icons | Lucide | 0.344.x | ISC |
| Container | Docker + Compose | 24+ | Apache 2.0 |
| Reverse Proxy | Nginx | Alpine | BSD-2 |
| CI/CD | GitHub Actions + semantic-release | โ | MIT |
| Password Hash | Argon2id (geplant v0.10.0) | โ | BSD |
Lokale Entwicklungโ
# Backend
cd backend
python -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt
uvicorn app.main:app --reload --port 8000
# Frontend (separates Terminal)
cd frontend
npm install
npm run dev
Swagger UI: http://localhost:8000/docs (benรถtigt DEBUG=true)