KristianS93 / CommandCentral_API_V2

MIT License
0 stars 0 forks source link

[FEATURE] Meal Planner #20

Closed KristianS93 closed 3 months ago

KristianS93 commented 3 months ago

Create a meal planner functionality:

when creating a household meal planner gets available. Create meals -> list of ingredients, title, description, image, meal_id Ingredient -> Name, Amount, meal_id MealPlan -> list of meals, week no., household_id, mealplan_id

Householdmeals, consists and shows all meals for a given household househouldmealplan Create mealplan -> based on given week, how many meals to select for this week. Clear meal plan Edit meal plan Delete meal plan Random meal plan from householdmeals Transfer to grocerylist

CRUD for Ingredient CRUD for meal

KristianS93 commented 3 months ago

branch Feature/20 solves the CRUD for meal, however creating a meal might change, since you usually add ingredients to the meal, right away when you create a meal.

KristianS93 commented 3 months ago

Important, meal has to have a household id, such that it can be determined who ownes the meals.

KristianS93 commented 3 months ago

Make sure resources are owned by the correct owner.