Powered by Ingrida AI

Authentication
  • POST /api/auth/register β€” Register a new user.
  • POST /api/auth/login β€” Login and receive a JWT token.
Pantry Management
  • GET /api/pantry β€” Get all pantry items (requires token).
  • POST /api/pantry/add β€” Add an ingredient.
  • DELETE /api/pantry/:id β€” Remove an ingredient.
Shopping List
  • GET /api/shopping β€” Retrieve your shopping list.
  • POST /api/shopping/add β€” Add an item to your shopping list.
  • DELETE /api/shopping/:id β€” Remove an item from your list.
Recipe Finder (AI Enhanced)
  • POST /api/recipes/find β€” Provide ingredients to get 10 recipe suggestions and 3 AI substitution tips.
  • Headers: Authorization: Bearer <token>
  • Body example:
{
  "ingredients": ["egg", "milk", "bread"]
}
Ingrida AI Assistant
  • POST /api/ai/ask β€” Send a message and receive Ingrida’s AI-powered response.
  • Body example:
{
  "message": "What can I make for breakfast?",
  "pantryItems": ["egg", "spinach", "cheese"]
}