Welcome to the Cricket Score API! This project is designed to provide real-time cricket scores using TypeScript and npm.
Our aim is to maintain high code coverage to ensure the quality of the project. Here are our current stats:
To get a copy of the project up and running on your local machine, follow these steps:
git clone https://github.com/deveshsangwan/cricketScoreApi.git
npm install
npm run dev
/liveMatches
to get the URLs of all the current live matches./matchStats
to get the statistics for all matches./matchStats/:matchId
to get the statistics for a single match. Replace :matchId
with the ID of the match you want statistics for.After setting up the project, you can run the tests to ensure everything is working as expected. Follow these steps:
npm run test
This command will run the test suite for the project.
npm run test:coverage
This command will run the tests and generate a coverage report.
This project is licensed under the Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0) License. See the LICENSE.md file for details.