|
|
TBE |
|
|
\ No newline at end of file |
|
|
# Project management tool
|
|
|
|
|
|
For our project we use [Maven](https://maven.apache.org/). It is a powerful tool to help with the build process. In the POM-file we have listed our dependencies and plugins.
|
|
|
|
|
|
# Dependencies
|
|
|
|
|
|
These are the dependencies we have used for the project. Javafx and junit are mandatory as per the project task for GUI and tests. Bootstrap is not used for the MVP, but added later for easier css styling. ![image](uploads/dd3ba265466f087702e3bded55256af6/image.png)
|
|
|
|
|
|
# Plugins
|
|
|
|
|
|
We have plugins for maven surefire for test reports and javafx plugin for running the program and creating an executable file. ![image](uploads/e4a6d2f4b68f4f76344335f7dcc861ea/image.png)
|
|
|
|
|
|
# Package structure
|
|
|
|
|
|
For our project we have used a standard project structure used with Maven. We have a src folder with `main` and `test`. Our group id is edu.ntnu.idatt1002.k1g4 as shown in the project structure as well. In our main directory we have most of our backend classes inside the root of `k1g4`. The rest of the backend classes are in the `people` package. Our client classes are in the `client` package. The Model, ViewUtil and App class lie here. The Model class have static fields and methods to hold the information of the cups. The ViewUtil class have static methods to load in new scenes and give alerts. This is to simulate an MVC (Model View Controller) structure. From there the controllers are in the `controllers` package. They recieve the action events form our fxml files which are in the `resources` folder.
|
|
|
|
|
|
![image](uploads/929679905aa504552dc810d8a7f06e17/image.png) |
|
|
\ No newline at end of file |