This web application manages a list of coffee shops.
The project is fully built using JeKa, leveraging a convention that defines the build logic.
This build-convention is designed for building Spring Boot projects with an optional ReactJS frontend. It automates tasks such as:
- Running Java tests with code coverage,
- Building and testing the ReactJS app,
- Performing SonarQube analysis (Java and JS),
- Creating Docker and native images.
End-to-end tests are located in the e2e package under the src/test/java directory.
The end-2-end test handles deployment and un-deployment of the application using containers.
Configured via jeka.properties
jeka.version=0.11.39
jeka.java.version=21
jeka.kbean.default=project
# Use the build convention defined at https://github.com/jeka-dev/demo-build-templates
jeka.classpath=dev.jeka:convention-examples:0.11.39-2
@convention=onjeka intellij: syncHelp on convention KBean:
jeka convention: --docRun a full build, including sonarqube and end-2-end tests
jeka buildRun a full build, excluding sonar analysis
jeka test pack e2eTestRun the bootable jar:
jeka runJarCreate a Docker image:
jeka docker: buildCreate a Spring-Boot native Docker image:
jeka docker: buildNative