A modern, responsive client-side application for tracking live cricket scores, match schedules, player statistics, and more. Built with React and TypeScript, this app provides an engaging interface for cricket enthusiasts to stay updated with their favorite teams and tournaments.
- Live Score Updates: Real-time match scores and commentary via WebSocket integration.
- Match Schedules: View upcoming and past matches with filters by team, series, or date.
- Player Stats: Detailed statistics for players, including batting/bowling averages, strike rates, and career highlights.
- Team Rankings: Interactive charts for ICC rankings and tournament standings.
- Responsive Design: Optimized for desktop, tablet, and mobile devices.
- Search & Favorites: Quick search functionality and bookmark your favorite teams/players.
- Dark/Light Mode: Toggle between themes for better accessibility.
| Category | Technology |
|---|---|
| Frontend | React 19, TypeScript |
| Styling | Tailwind CSS, Styled-Components |
| State Management | Redux Toolkit, React Query |
| Routing | React Router DOM |
| API Client | Axios |
| Testing | Jest, React Testing Library |
| Build Tool | Vite |
| Other | ESLint, Prettier |
-
Clone the Repository
git clone https://github.com/mdranju/cricket-app-client.git cd cricket-app-client -
Install Dependencies
npm install # or yarn install -
Run the Development Server
npm run dev # or yarn devThe app will be available at
http://localhost:5173.
- Navigate to different sections using the sidebar menu: Home, Matches, Teams, Players, Rankings.
- Use the search bar to find specific matches or players.
- Toggle live updates for ongoing matches.
- For production build:
npm run build # Serve the build folder with your preferred static server
This app integrates with a cricket data API (e.g., CricAPI or similar). Key endpoints used:
GET /matches/live: Fetch live matches.GET /players/{id}/stats: Retrieve player statistics.GET /teams/rankings: Get team rankings.
Ensure your API key is valid and rate limits are respected. For more details, refer to the API documentation.
Contributions are welcome! Please follow these steps:
- Fork the repository.
- Create a feature branch (
git checkout -b feature/amazing-feature). - Commit your changes (
git commit -m 'Add amazing feature'). - Push to the branch (
git push origin feature/amazing-feature). - Open a Pull Request.
- Use Prettier for formatting.
- Follow ESLint rules.
- Write tests for new features.
See CONTRIBUTING.md for more details.
This project is licensed under the MIT License - see the LICENSE file for details.
- Author: Md Ranju
- Email: mdranju23@gmail.com
- Issues: Report bugs or request features here
Built with ❤️ for cricket fans. Let's make this app the ultimate companion for every match!