๐ŸŸ๏ธ Ofside Management API

Complete backend solution for Ofside booking and management

โœ… Server is running successfully on port 5000

๐Ÿ“š API Documentation

Interactive Swagger UI with all endpoints, request/response schemas, and testing capabilities.

Open Swagger UI

๐Ÿฅ Health Check

Monitor server status and verify that all services are running correctly.

Check Health

๐Ÿ” Authentication

JWT-based authentication with OTP verification via SMS and email.

๐Ÿข Venue Management

Complete CRUD operations for sports venues with location-based search.

๐Ÿš€ Key API Endpoints

POST /api/auth/signup

User registration with OTP verification

POST /api/auth/login

User login with OTP verification

GET /api/venues

Get all venues with filtering and pagination

POST /api/venues

Create new venue (venue owner/admin only)

GET /api/courts

Get all courts with filtering options

POST /api/bookings

Create new booking with automatic pricing

GET /api/rulebook/:sportType

Get rules for specific sport

๐Ÿงช Quick API Test