InsFlix Microservice Backend
API Backend Service
High-performance API built with Next.js, Neon Serverless PostgreSQL, and Drizzle ORM. Designed for mobile playback & Vercel deployment.
📖
Swagger Documentation
Interactive OpenAPI 3.0 documentation with live endpoint testing and API Key authentication.
âš¡
Health Check
Validate microservice status and live Neon serverless database connectivity (`/api/health`).
🎬
Common Data API
Unified endpoint for listing, searching, filtering, and streaming (`/api/data/movies`).
Common API Reference
- GET
/api/data/:entity- List records with search, filter, pagination (e.g.movies) - POST
/api/data/:entity- Create record (generates UUID, requiresx-api-key) - GET
/api/data/:entity/:uuid- Retrieve record by UUID - PATCH
/api/data/:entity/:uuid- Update record by UUID (requiresx-api-key) - DELETE
/api/data/:entity/:uuid- Delete record by UUID (requiresx-api-key)