🧘‍♀️ Yoga API

Production-ready yoga API with multimedia content management

v2.0 Production Ready
🔐

Secure Authentication

HTTP Basic Auth with role-based access control

📁

File Management

Upload and serve images, videos, and GIFs

📊

Monitoring

Comprehensive logging and metrics

🚀

Production Ready

PM2 configuration and deployment scripts

🔑 Authentication Required

All API endpoints require HTTP Basic Authentication. Use your API credentials:

Authorization: Basic base64(username:password)

📋 API Endpoints

Public Endpoints (Basic Auth)

GET /health
Health check and system status
GET /api/categories
Get all yoga categories with pose counts
GET /api/poses
Get poses with filtering and pagination
GET /api/poses/search
Search poses by name

Admin Endpoints (Admin Auth Required)

POST /api/admin/poses
Create new pose with file uploads
GET /api/metrics
Server metrics and statistics