Skip to content

Getting Recipes by Ingredient

Ethan Harjabrata edited this page Oct 15, 2025 · 1 revision

Pseudocode:

  1. Get Ingredient name, name
  2. SELECT * FROM Recipes
    INNER JOIN Ingredients
    ON Recipes.recipe_id = Ingredients.recipe_id
    WHERE Ingredients.ingredient_name= name
  3. return output from database as a JSON Array to frontend
  4. Display on frontend?

Clone this wiki locally