API Routes - meagan13/Family-Supper GitHub Wiki

Family Supper utilizes the following backend routes:

Recipe Information

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/

Ingredients

A logged-in user may add ingredients to a recipe that they create.

  • GET /api/ingredient/recipeId/int:id/
  • POST /api/ingredient

Directions

A logged-in user may also add directions to a recipe that they create.

  • GET /api/direction/recipeId/int:id/
  • POST /api/direction/direction

Memories

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/
⚠️ **GitHub.com Fallback** ⚠️