API Routes - melendezmatt/Rushipes GitHub Wiki
-
/<int:id>/all-pantries
- GET
all a user's pantries
-
/<int:id>/pantry/<int:pantryId>
- GET
a user's single pantry
-
/<int:id>/new-pantry
- POST
a new pantry for a user
-
/<int:id>/pantry/<int:pantryId>
- PUT
a pantry by updating it for a user
-
/<int:id>/pantry/<int:pantryId>
- DELETE
a user's single pantry
-
/<int:id>/all-recipes
- GET
all a user's recipes
-
/<int:id>/recipe/<int:recipeId>
- GET
a user's single recipe
-
/<int:id>/new-recipe
- POST
a new recipe for a user
-
/<int:id>/recipe/<int:recipeId>
- PUT
a recipe by updating it for a user
-
/<int:id>/recipe/<int:recipeId>
- DELETE
a user's single recipe
⚠️ **GitHub.com Fallback** ⚠️