Recipedium API

Welcome to the Recipedium API. This API provides endpoints for managing recipes, users, and authentication.

API Endpoints

Health Check

GET /healthz - Check API health status

Authentication

POST /api/auth/register - Register a new user

POST /api/auth/login - Login to get access token

POST /api/auth/forgot-password - Request password reset

POST /api/auth/reset-password/:token - Reset password with token

Recipes

GET /api/recipes - Get all recipes

GET /api/recipes/:id - Get recipe by ID

POST /api/recipes - Create a new recipe

PUT /api/recipes/:id - Update a recipe

DELETE /api/recipes/:id - Delete a recipe

Users

GET /api/users/me - Get current user profile

PUT /api/users/me - Update current user profile

GET /api/users/:id/recipes - Get recipes by user ID

For detailed documentation, please refer to the project repository.