A real-time football match scoreboard built with Next.js.
- Live score updates using Server-Sent Events (SSE)
- Real-time clock display
- Side-by-side match cards layout
- Responsive design
- Next.js
- React
- Tailwind CSS
- TypeScript
Install dependencies:
pnpm installRun the development server:
pnpm devOpen http://localhost:3000 to see the scoreboard.
- Backend sends score updates every 4 seconds via
/api/scores - Frontend listens with EventSource and updates scores in real-time
- Matches display side by side with current scores
- Time updates live at the top of the page