We are using maven 3.9.4
for the project.
We are using java 17.0.8.1
for the project.
We are using Spring-Boot 3.1.5
for the backend.
We are using node 16.20.2
for the webapp.
We are using npm 8.19.4
for the webapp.
To build and run the project, start by running mvn install
in the bookbyte folder. Then
run cd ui
to enter the ui
module, and then mvn javafx:run
to run the application.
To build and run the webapp, make sure you have npm installed and the backend is running. Run the following:
cd bookbyte-webapp
npm
npm install
npm run dev
- The webapp will launch on localhost:3000
To build the project, run mvn install
in the bookbyte folder.
To create a shippable msi
file (Windows only) run the following command in the bookbyte/ui
folder:
mvn exec:exec@jpackage-execution
Note: This requires you to have downloaded javafx-jmods
to the correct path on your computer.
User stories can be found in the userstories.md file.
Detailed information about the project can be found in the docs folder.
We design our project from the userstories. We start from the first story so we start with designing the library. Afterwards we will design a catalogue to browse the various books. Lastly we will add borrow/return functionality.
Detailed release notes can be found here
REST API docs can be found at getting_started.md
To generate jacoco test coverage reports run the following:
cd bookbyte
mvn clean verify -DskipUiTests=true
- You can find the generated report in
/bookbyte/core/target/site/index.html
after thge commands have been run.