Full REST API documentation for the StyleHub Social Media Service, built with NestJS and documented with Swagger/OpenAPI.
API scope:
- 11 modules: Auth, User, Brand, Posts, Follow, Interactions, Feed, Notifications, Chat, Search, Realtime
- 57 endpoints with full RBAC (USER, BRAND, ADMIN roles)
- JWT access + refresh token rotation
- Rate limiting on sensitive endpoints (20–60 req/min)
- Cursor-based pagination on Chat and Feed
- Real-time events via Socket.IO gateway
- Event-driven architecture via RabbitMQ
This project demonstrates production-level API design with proper authentication, authorization, pagination, and error handling patterns.