CB Football
Feb 2024Live match score-prediction platform
Full-stack · solo build
- Problem
- Casual football fans had no lightweight way to predict live match scores and compete with friends in real time. Existing sites were heavy, account-walled, and slow to reflect what was happening on the pitch.
- Solution
- A Next.js platform that syncs live match data on a schedule via Vercel Cron, runs prediction and leaderboard logic against MongoDB, and serves a responsive Tailwind UI that updates as matches progress.
- Impact
- Cut bet-settlement processing time by ~60% with parallel processing + server actions. Live scores and player stats sync from the api-sports.io API on a Vercel Cron schedule — no manual data entry.
- Next.js
- Tailwind
- Vercel Cron
- GSAP
- Server Actions
Architecture
Vercel Cron polls the api-sports.io live-score API on a schedule and writes match state into MongoDB; parallel server actions settle bets ~60% faster than the naive sequential pass.