API Routes - meagan13/Family-Supper GitHub Wiki
Family Supper utilizes the following backend routes:
A logged-in user may create, edit, or delete recipe information.
- GET /api/recipe
- GET /api/recipe/int:id/
- POST /api/recipe
- PUT /api/recipe/int:id/
- DELETE /int:id/
A logged-in user may add ingredients to a recipe that they create.
- GET /api/ingredient/recipeId/int:id/
- POST /api/ingredient
A logged-in user may also add directions to a recipe that they create.
- GET /api/direction/recipeId/int:id/
- POST /api/direction/direction
A logged-in user may create, edit, or delete memories of a particular recipe shared on the app.
- GET /api/memory/
- GET /api//recipeId/int:id/
- POST /api/memory/
- PUT /api/memory/int:id/
- DELETE /api/memory/int:id/