Commit Graph

3 Commits

Author SHA1 Message Date
Craig a8aed9a84f TICKET-007 (backend): meals — from-log, unpack, components, recursive nutrition, cycle detection 2026-07-26 17:27:15 +01:00
Craig 5372e8cbca TICKET-004: Day summary endpoint
- GET /api/log/summary?date= with totals vs historical target
- Nutrition math consolidated in services/nutrition.py (weight vs count)
- Null nutrition contributes 0; meals contribute 0 (TODO TICKET-007)
- Full suite green (104 passed)
2026-07-26 13:27:03 +01:00
Craig 87d7eca468 TICKET-003: Daily log write path
- POST/PUT/DELETE /api/log, GET /api/log?date= with embedded food
- sort_order auto-appends per day; hard delete for log entries
- Soft-deleted foods rejected for new logs (404) but render in history
- Full suite green (87 passed)
2026-07-26 13:15:46 +01:00