This project is a simple web application built with Express.js to display cricket match information using the CricAPI. It provides features such as viewing current matches, scoreboard, series information, and details about teams and players.
Before running the application, make sure you have the following installed:
-
Clone the repository:
git clone https://github.com/hzaheer48/cricket-api-dashboard.git
-
Navigate to the project directory:
cd cricket-api-dashboard
-
Install dependencies:
npm install
Ensure that you have a valid API key from CricAPI and update the API_KEY
variable in app.js
with your key.
const API_KEY = 'your-api-key';
Start the server:
node index.js
Visit http://localhost:8080 in your browser to access the cricket dashboard.
- View current matches
- Check scoreboard for ongoing matches
- Explore cricket series information
- Display details about teams and players
- Search for players by name
Feel free to contribute to this project by opening issues or creating pull requests.