danistark1 / recipesAPI

API endpoints for https://github.com/PascaleStark
0 stars 0 forks source link

[Random Recipe Selector] prevent random selection of meals from same category #38

Closed danistark1 closed 2 years ago

danistark1 commented 2 years ago

Details

Prevent selecting meals from same food category Ex. Lemon Chicken Pasta & Chicken Pesto Pasta.

Possible fix

Add a sub-category to recipes_entity table

ex. category = Main Dish, sub_category = Pasta

danistark1 commented 2 years ago

closed in https://github.com/danistark1/recipesAPI/pull/39