A spring boot REST web service that allows the basic CRUD operations as well as searching by title or category. Added Authentication and Authorization via the Spring Security module.
Graduade project at the JetBrains Academy Java Backend Engineering Course.
GET /api/recipe/{id}
Response body:
{
"id": "<string>",
"category": "<string>",
"date":"<string>",
"description": "<string>",
"ingredients": ["<string>",...],
"directions":["<string>",...],
}
GET /api/recipe/search
GET /api/recipe/search
POST /api/recipe/new
Request body:
{
"name": "<string>",
"category": "<string>",
"description": "<string>",
"ingredients": ["<string>",...],
"directions":["<string>",...],
}
Response body:
{
"id": "<string>",
}
DELETE /api/recipe/{id}
PUT /api/recipe/{id}
POST /api/register
Request body:
{
"email": "<string>",
"password": "<string>"
}