chorus/backend
pyr0ball 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
..
app feat(backend): add FastAPI routes for items 2026-07-13 13:43:09 -07:00
tests feat(backend): add FastAPI routes for items 2026-07-13 13:43:09 -07:00
.gitignore feat(backend): add Item model and stage/type validation 2026-07-13 13:33:40 -07:00
requirements.txt feat(backend): add Item model and stage/type validation 2026-07-13 13:33:40 -07:00