Systemet til håndtering af Fælles Vinindkøb
Find a file
carsten 5db65fb268 Update CLAUDE.md for task 8a, add standing update-after-each-task note
Order/OrderLine now have a real write path (the public order API), so
their "model exists, no API yet" notes are replaced with what's
actually there. Participant's entry documents the ad-hoc-create/
always-update-on-order behavior. Mail-events #2 marked implemented
with the same detail level as #1. Fase 1 task 8 split into 8a (done)/
8b (pending, own stack decision) matching the 7a/7b/7c precedent.

Added a short process note at the top, per explicit user request:
this file should be updated after each (sub)task, not just on request.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-28 22:11:55 +02:00
app Add public order API (task 8a) — no login, ad-hoc participant creation 2026-09-28 22:08:58 +02:00
migrations Add Postal webhook receiver for delivery status (task 7c) 2026-09-28 20:50:24 +02:00
scripts Add one-off participant import script for legacy MongoDB data 2026-09-27 19:16:26 +02:00
.env.example Add Postal webhook receiver for delivery status (task 7c) 2026-09-28 20:50:24 +02:00
.gitignore Add mail template CRUD (task 7a), per-route and per-event-type 2026-09-28 19:43:47 +02:00
.python-version Scaffold FastAPI + SQLModel + Alembic project, Postgres-backed 2026-09-27 15:57:44 +02:00
alembic.ini Scaffold FastAPI + SQLModel + Alembic project, Postgres-backed 2026-09-27 15:57:44 +02:00
CLAUDE.md Update CLAUDE.md for task 8a, add standing update-after-each-task note 2026-09-28 22:11:55 +02:00
pyproject.toml Add Postal webhook receiver for delivery status (task 7c) 2026-09-28 20:50:24 +02:00
README.md Scaffold FastAPI + SQLModel + Alembic project, Postgres-backed 2026-09-27 15:57:44 +02:00
uv.lock Add Postal webhook receiver for delivery status (task 7c) 2026-09-28 20:50:24 +02:00

Vinindkøb v2

Admin-backend til fælles vinindkøb (FastAPI + SQLModel + PostgreSQL + Alembic). Se CLAUDE.md for projektplan og datamodel.

Kom i gang

uv sync
cp .env.example .env   # udfyld DATABASE_URL med din egen Postgres-instans
uv run alembic upgrade head
uv run fastapi dev app/main.py

GET /health bekræfter at appen kan nå databasen.