This is a JavaFX application designed to help Fantasy Premier League (FPL) managers analyze player data and manage their teams.
- Team Data Retrieval: Fetches and displays FPL team data, including player statistics.
- Player Analysis: Provides key player metrics such as points, cost, expected goals (xG), and expected assists (xA).
- Game Week Information: Displays upcoming game week fixtures and deadlines.
- Chip Management: Tracks and displays available and used FPL chips (e.g., Wildcard, Triple Captain).
- User Management: Allows users to save and retrieve their team data.
- Data Persistence: Saves user data to a local file.
- Data Retrieval: Retrieves data from the official FPL API.
- Fixture data: Displays the upcoming fixtures for each player.
- JavaFX: For building the graphical user interface.
- Java: The primary programming language.
- Maven: For build automation and dependency management.
- JUnit 5: For unit testing.
- Jackson: For JSON processing.
- Java Development Kit (JDK) 21 or later
- Maven
-
Clone the repository:
git clone git@github.com:andreasibo/Object-Oriented-FPL-Manager-App.git cd Object-Oriented-FPL-Manager-App -
Build the project using Maven:
mvn clean install
-
Run the application:
mvn javafx:run
To run the JUnit 5 tests, execute the following Maven command:
mvn testFPLManager/
├── src/
│ ├── main/
│ │ ├── java/
│ │ │ ├── FPLManager/
│ │ │ │ ├── controller/
│ │ │ │ │ ├── FPLManagerApp.java
│ │ │ │ │ └── FPLManagerController.java
│ │ │ │ ├── model/
│ │ │ │ │ ├── Manager.java
│ │ │ │ │ ├── Player.java
│ │ │ │ │ ├── DataManager.java
│ │ │ │ │ └── ... (other model classes)
│ │ ├── resources/
│ │ │ ├── FPLManager/
│ │ │ │ ├── data/
│ │ │ │ │ ├── teams.csv
│ │ │ │ │ └── users.txt
│ │ │ │ ├── documentation/
│ │ │ │ │ ├── class_diagram.png
│ │ │ │ │ ├── class_diagram.puml
│ │ │ │ │ └── Dokumentasjon.pdf
│ │ │ │ ├── model/
│ │ │ │ │ └── App.fxml
│ ├── test/
│ │ ├── java/
│ │ │ ├── FPLManager/model/
│ │ │ │ └── DataManagerTest.java
│ │ │ │ └── PlayerTest.java
│ │ │ │ └── ManagerTest.java
├── pom.xml
└── README.md