Authentication
Base URL: /auth
POST
/auth/register
Register a new EcoUser with PIN
POST
/auth/login
Login with UID and PIN
POST
/auth/admin/login
Admin login with email and password
Wellness
Base URL: /api/wellness
POST
/api/wellness/mood
Log your current mood
GET
/api/wellness/mood
Get your mood history
POST
/api/wellness/goals
Create a wellness goal
Environment
Base URL: /api/environment
POST
/api/environment/water
Add water quality reading
GET
/api/environment/water
Get water readings history
POST
/api/environment/plants
Log plant status
GET
/api/environment/plants
Get plant logs history
Kitchen
Base URL: /api/kitchen
POST
/api/kitchen/grocery/receipts
Upload a grocery receipt
GET
/api/kitchen/grocery/receipts
Get your grocery receipts
GET
/api/kitchen/fridge
Get your fridge items
PUT
/api/kitchen/fridge/:item_id
Update a fridge item
DELETE
/api/kitchen/fridge/:item_id
Delete a fridge item
Wardrobe
Base URL: /api/wardrobe
GET
/api/wardrobe/suggest-outfit
Get outfit suggestions
POST
/api/wardrobe/laundry
Log laundry session
GET
/api/wardrobe/laundry
Get laundry history
GET
/api/wardrobe/condition
Get wardrobe condition
Marketplace
Base URL: /api/marketplace
GET
/api/marketplace/items
Browse available items
POST
/api/marketplace/orders
Place a new order
GET
/api/marketplace/orders
Get your order history
GET
/api/marketplace/orders/:order_number
Get order details
GET
/api/marketplace/delivery-hubs
Get available delivery hubs