Extended an existing single-file web app by replacing two in-memory collections with persistent models while preserving ID assignment, delete guards, overlap rules, and filtering behavior.
- What worked
- Routing, request handling, and test reset hooks adapted cleanly to database-backed storage without changing external behavior.