A simple Java application that lets you explore Major League Baseball team data through a graphical interface.
This project is a hands-on example of how to build a complete Java application. It takes raw data about baseball teams, players, and stadiums from various files, organizes that data into a local database, and then displays it all in a user-friendly window.
It's a great demonstration of database design, file handling, and GUI programming in Java, all using fun, real-world baseball stats!
- ** All-in-One Database:** Neatly stores all team, player, and stadium info in a local SQLite database file.
- ** Smart Data Importer:** Automatically reads team info from
.json
, stadium addresses from.csv
, and player rosters from another.csv
file. - ** Visual Explorer:** A simple point-and-click window to browse through conferences, divisions, teams, and player rosters.
- ** See Team Logos:** Loads and displays the actual logo for each team right in the app.
Before you begin, you'll need two tools installed on your computer:
- Java: Version 17 or newer.
- Maven: Version 3.8 or newer (this is a tool that helps build Java projects).
Open your terminal or command prompt, and run the following commands one by one to download the code and prepare the application.
-
Download the code from GitHub:
git clone git@github.com:Tushig3531/Password-Manager.git cd mlb-database-viewer
-
Build the application with Maven:
mvn clean package
This command compiles the code, downloads the necessary libraries, and packages it all into a runnable application.
Once the build is finished, simply run the helper script:
./run.sh
Now you can click around to explore all the MLB data.