Fernando-Rz / qooked

A food recipe app
2 stars 0 forks source link

Add meals endpoint #7

Open BrayanMG opened 5 months ago

BrayanMG commented 2 months ago

A meal would have the following properties: mealId - string (/users/{userID}/meals/{mealName}) name - string isTakeout - boolean recipeId - string

If isTakeout is true, recipeId must be blank. RecipeId should be the ID of an actual recipe created by the user.

Every time a user creates a recipe, a meal should automatically be added with the name being the recipeName and isTakeout being false.