Commit Graph
4 Commits
Author SHA1 Message Date
Tom Flux 173e74b4a9 Simplify from claude 2026-06-22 22:50:48 +01:00
Caine 75e3256eae Add rating + preferences fields, log first cook feedback
- Ingredient.preferences: qualitative notes on how Tom likes things cooked
- CookLog.rating: 1-5 score
- CookLog.notes: help text updated for feedback
- Migration 0002
- First cook logged: Baked Pasta with lardons, rated 2/5
- Bacon lardons preference: don't oven bake, fry separately, not solo protein
2026-04-02 22:50:49 +01:00
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 487bf46979 Add DRF serializers, viewsets, what-can-i-cook endpoint, log-cook with pantry deduction 2026-04-02 16:32:00 +01:00