This project is a Java Spring Boot application that serves as a backend API for managing cricket matches and related data.
- Live Matches: Endpoint to retrieve a list of live cricket matches.
- All Matches: Endpoint to retrieve all cricket matches.
- Point Table: Endpoint to retrieve the point table of ongoing tournaments.
GET /match/live
: Retrieve live cricket matches.GET /match
: Retrieve all cricket matches.GET /match/point-table
: Retrieve the point table of ongoing tournaments.
-
Clone the Repository:
https://github.com/1krishnasharma/Cricket-live.git
-
Build the Project:
mvn clean install
-
Run the Application:
java -jar target/cricket-backend.jar
-
Access the API: The API will be available at
http://localhost:8080
.
- Spring Boot
- Maven
The application can be configured via application.properties
file located in src/main/resources
. Here you can configure database connection details, server port, etc.
This backend API can be integrated with front-end applications, mobile apps, or other services to fetch live cricket match data, all match data, and point tables for ongoing tournaments.