AerialBets est une plateforme de paris e-sport pour Rocket League utilisant une monnaie fictive.
First, run the development server:
npm run devOpen http://localhost:3000 with your browser to see the result.
Variables d'environnement requises:
PANDASCORE_TOKEN(Bearer token API PandaScore)PANDASCORE_WEBHOOK_SECRET(secret HMAC SHA-256)INTERNAL_API_KEY(optionnel, pour protéger les routes internes)
Routes ajoutées:
POST /api/pandascore/webhook(webhook PandaScore, signature vérifiée)POST /api/internal/pandascore/poll(fallback polling, max 1 tick / 15s)GET /api/internal/pandascore/matches/runningGET /api/internal/pandascore/matches/upcomingGET /api/internal/pandascore/matches/pastGET /api/internal/pandascore/matches/:idGET /api/internal/pandascore/tournaments/running
Le webhook accepte les triggers PandaScore: match.begin, match.end, match.update, game.begin, game.end.
- Real-time odds based on PandaScore API
- Virtual currency system
- Global Leaderboard
- Mobile-responsive design
- Next.js 15
- Prisma (SQLite)
- NextAuth.js
- Lucide React
- Framer Motion