This project is built with Gradle, and is composed of two sub-projects:
- backend: the Backend, implemented using Java 11 and Spring Boot. See the backend README for details.
- frontend: the frontend, implemented using Angular. See the frontend README for details.
- A Java 17 SDK
- Docker to easily setup a database and an SMTP server
Once you have the database set up as explained in the backend README, you can use the standard Gradle tasks. You can also of course import the project in your IDE: they all have Gradle support.
Here are the main gradle commands available:
./gradlew assemble
: assembles the executable jar file, containing both the backend and the frontend. The created jar is located inbackend/build/libs/rare-basket.jar
../gradlew build
: assembles the executable jar file, but also runs all the checks: linting, unit tests, etc../gradlew tasks
: lists the tasks.
See the backend README and the build.gradle.kts
files for more details.