Make sure you have Maven and Java 11 or greater
# run from project root
mvn clean package
# change directory to the repo's backend build folder
cd server/target
# start the app
# both backend and frontend are packaged into a single jar
java -jar backend-0.0.1.jar
This project is using H2 database from a file in server/target
Initial data is loaded from import.sql file
To clear database, simply delete the spring-boot-h2-db.mv.db file and restart the app
To access database:
- http://localhost:8080/h2
- JDBC URL: jdbc:h2:file:./spring-boot-h2-db
- Leave the rest as-is and connect