Commit graph

5 commits

Author SHA1 Message Date
4dbda85ccd feat: add direction field and outbound stage set to Chorus items 2026-07-13 19:01:01 -07:00
d9a2aa1b6d chore: add docker-compose stack and Caddy config for deployment 2026-07-13 14:36:37 -07:00
a90c3fc172 feat(backend): add FastAPI routes for items
Wraps the Task 2 CRUD layer in a FastAPI app (schemas.py + main.py) with
POST/GET/GET-by-id/PATCH routes for items, matching the exact paths and
status codes the Discord bot's HTTP client will depend on.

Also fixes a latent bug in db.get_engine: sqlite:///:memory: without a
StaticPool gives each new session a fresh, empty database, which broke
as soon as more than one session shared an engine (the API's per-request
session pattern). Tasks 1-2 never hit this because their tests used a
single session per engine.
2026-07-13 13:43:09 -07:00
8f5526c2c0 feat(backend): add idempotent CRUD layer for items 2026-07-13 13:38:36 -07:00
c3e9f2551c feat(backend): add Item model and stage/type validation 2026-07-13 13:33:40 -07:00