A complete REST API with authentication, live match data, team profiles, head-to-head matchups, tournament stats, and user profiles โ built with Next.js and PostgreSQL.
16
API Endpoints
48
Teams
12
Groups
104
Matches
JWT-based signup, login, OTP verification, token refresh, and secure logout.
Home summary with live matches, today's fixtures, and tournament stats.
Browse 48 teams, head-to-head stats, and AI-powered match predictions.
Top scorers, group standings, and user profile management.
All ๐ endpoints require Authorization: Bearer {token}
| Screen | Method | Endpoint |
|---|---|---|
| Signup | POST | /api/auth/signup |
| Login | POST | /api/auth/login |
| OTP | POST | /api/auth/otp/verify |
| OTP | POST | /api/auth/otp/resend |
| Login | POST | /api/auth/password/forgot |
| โ | POST | /api/auth/token/refresh |
| โ | POST | /api/auth/logout |
| Dashboard | GET | /api/home/summary |
| Dashboard | GET | /api/notifications |
| Teams | GET | /api/teams |
| Teams | GET | /api/teams/{code} |
| Matchup | GET | /api/matchup |
| Matchup | POST | /api/matchup/logo/regenerate |
| Stats | GET | /api/stats/overview |
| Profile | GET | /api/profile |
| Profile | PATCH | /api/profile |