Skip to content

BW-WEBPT15-SecretFamilyRecipesCookbook3/backend

Repository files navigation

Backend

Authentication

Method Endpoint Body(required) Body(optional)
POST /api/auth/register email, password N/A
POST /api/auth/login email, password N/A

Users

Method Endpoint Body(required) Body(optional)
GET /api/users N/A N/A
DELETE /api/users/:id N/A N/A

Recipes

Method Endpoint Body(required) Body(optional)
GET /api/recipes N/A N/A
POST /api/recipes title, description, source tag
PUT /api/recipes/:id title, description, source tag
DELETE /api/recipes/:id N/A N/A

Ingredients (TODO)

Method Endpoint Body(required) Body(optional)
GET /api/recipes/:id/ingredients N/A N/A
POST /api/recipes/:id/ingredients ingredient, unit, quantity N/A

| DELETE | /api/recipes/:id/ingredients/:id | N/A | N/A |

Steps (TODO)

Method Endpoint Body(required) Body(optional)
GET /api/recipes/:id/steps N/A N/A
POST /api/recipes/:id/steps step_number, instructions N/A
PUT /api/recipes/:id/steps/:sid instructions N/A
DELETE /api/recipes/:id/steps/:sid N/A N/A

Tags (TODO)

Method Endpoint Body(required) Body(optional)
GET /api/recipes/tags N/A N/A
POST /api/recipes/tags tag N/A

About

Backend for SFR

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •