POST /api/auth/register β Register a new user.POST /api/auth/login β Login and receive a JWT token.GET /api/pantry β Get all pantry items (requires token).POST /api/pantry/add β Add an ingredient.DELETE /api/pantry/:id β Remove an ingredient.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.POST /api/recipes/find β Provide ingredients to get 10 recipe suggestions and 3 AI substitution tips.Authorization: Bearer <token>{
"ingredients": ["egg", "milk", "bread"]
}
POST /api/ai/ask β Send a message and receive Ingridaβs AI-powered response.{
"message": "What can I make for breakfast?",
"pantryItems": ["egg", "spinach", "cheese"]
}