This Spring Boot application tracks football player statistics by importing data from a CSV file and persisting it to a PostgreSQL database. The application leverages OpenCSV for CSV parsing and JPA for data persistence, providing a seamless integration of data management functionalities.
- Data Import: Automatically reads player statistics from a CSV file.
- Database Integration: Stores player information in a PostgreSQL database using JPA.
- Command-Line Runner: Initializes data import on application startup.
- Object-Oriented Design: Utilizes Java classes to represent player data, ensuring a structured and maintainable codebase.
- Java: The core programming language for application development.
- Spring Boot: Framework used for building the application.
- PostgreSQL: Relational database for storing player statistics.
- OpenCSV: Library for reading and writing CSV files in Java.
To get a local copy up and running, follow these steps:
-
Clone the repository:
-
Navigate to the project directory:
cd backEnd
-
Configure your PostgreSQL database connection in
application.properties
. -
Build and run the application:
./gradlew build ./gradlew bootRun
Contributions are welcome! Please open an issue or submit a pull request for any features or improvements.