Cricbuzz Backend
Front End (React) :- https://github.com/yash777u/cricbuzz-frontend
Description:
The Cricbuzz Backend is a Spring Boot application that manages cricket-related data. It provides APIs to handle tasks like storing and retrieving player and team scores, updating match details, and deleting unnecessary data.
ChatGPT
Tech Stack:
Framework: Spring Boot
IDE: IntelliJ IDEA
Database: PostgreSQL
ORM: Spring Data JPA
Lombok: for reducing boilerplate code and enhancing productivity.
Setup:
-
Clone the Repository:
git clone https://github.com/yash777u/Cricbuzz.git
-
Configure Database:
- Update the database settings in the
application.properties
file located in the src/main/resources directory. - Modify the
database URL, username, and password
according to your local database configuration.
- Update the database settings in the
-
Build and Run:
- Build the application using Maven or Gradle.
mvn clean install
./gradlew build
- Run the application locally.
java -jar target/cricbuzz-backend.jar
-
Testing:
- Use tools like Postman to test the API endpoints.
- The application will be accessible at
http://localhost:8080/api.
- Also used url :-
http://localhost:8080/swagger-ui/index.html
-
Making Changes:
- Modify entity classes, repository interfaces, or application properties to make changes to the database schema or configurations.
- Rebuild and rerun the application to apply the changes.
-
Documentation:
- Refer to the README file for detailed instructions on running the application and making changes to the database configuration.
-
Troubleshooting:
- If you encounter any issues, refer to the project documentation or seek assistance from project contributors or community forums.
Contributing:
- Contributions are welcome! Fork the repository, make your changes, and submit a pull request.