Each recipe is represented as an object containing an ingredients and instructions field.
recipe_t: {
'ingredients': [{ 'ingredient': string_t, 'amount': int_t }],
'instructions': [ string_t ]
}
Each user rating is represented as a pair of a recipe and numeric rating from 1-5
rating: { recipe: recipe_t, rating: int_t }
Queries db and returns an array of recipe ids
Create a new recipe
Return instructions for a given recipe id
Update the value of a given recipe id
Create a new rating for a given id
Return all ratings for a given id