A React web application for Manchester United's 2023/2024 Premier League season. View match details, statistics, and highlights with interactive charts and filtering.
- Match Dashboard: Browse all Manchester United matches with detailed information
- Interactive Charts: Goals and results visualizations with toggle controls
- Advanced Filtering: Filter by result, venue, goals, and search opponents
- Match Details: Comprehensive match information with goal scorers and highlights
- Responsive Design: Dark theme with red accents, works on all devices
- React 19, Vite
- Chart.js, React-Chartjs-2
- React Router DOM, Framer Motion
- Football API (api-sports.io)
-
Clone and install
git clone <repository-url> cd football-api npm install
-
Set up API key
copy .env.example .env
Edit
.envand add your API key from api-sports.io -
Run development server
npm run dev
- Dashboard: Browse matches, apply filters, view charts
- Match Details: Click any match for comprehensive information
- Charts: Toggle between goals and results visualizations
- Highlights: Access YouTube highlights for each match
Uses Football API endpoints:
/fixtures?team=33&season=2023&league=39- Manchester United matches/fixtures?id={id}- Individual match details/fixtures/events?fixture={id}- Match events
src/
├── components/ # React components
├── data/ # Static data
├── styles/ # CSS files
└── App.jsx # Main component
npm run dev- Start development servernpm run build- Build for productionnpm run preview- Preview production build
Harrison Nguyen
Apache License, Version 2.0
