Commit Graph
9 Commits
Author SHA1 Message Date
Caine 189d72b797 Add create-meta-recipe endpoint with nested slots/options/bases
- POST /api/create-meta-recipe/ creates full meta-recipe in one call
- PUT /api/create-meta-recipe/ updates existing (requires id)
- Auto-resolves ingredients by name/alias, creates new if not found
- Returns full nested response with _created_ingredients list
- New writable serializers: MetaRecipeWriteSerializer, SlotWriteSerializer, etc.
2026-04-02 17:51:12 +01:00
Caine 27f91fb877 Phase 2+3: bulk pantry add, smart shopping list, recipe URL import 2026-04-02 16:50:56 +01:00
Caine fe00286f75 Add API: URLs, token auth, what-can-i-cook endpoint, log-cook with pantry deduction, browsable API 2026-04-02 16:33:31 +01:00
Caine 487bf46979 Add DRF serializers, viewsets, what-can-i-cook endpoint, log-cook with pantry deduction 2026-04-02 16:32:00 +01:00
Caine 5fd4450872 Fix seed: use ingredient+location for get_or_create, add missing freezer items 2026-04-01 22:51:35 +01:00
Caine e76a8fe656 Add seed command: 29 ingredients, pantry from Pantry.md, 2 meta-recipes (stir fry + traybake) 2026-04-01 22:50:04 +01:00
Caine 999ca28b67 Add initial migration, create superuser 2026-04-01 22:48:45 +01:00
Caine 5c6f7ead8f Configure settings: add kitchen app, DRF, timezone, allowed hosts 2026-04-01 22:48:28 +01:00
Caine 40cc3de3e4 Add all Django models: pantry, ingredients, meta-recipes, recipes, cook log, shopping list 2026-04-01 22:47:35 +01:00