Skip to content

jeka-dev/demo-build-conventions-consumer

Repository files navigation

Spring Boot + ReactJS Application Built Using Build-Convention

This web application manages a list of coffee shops.

Screenshot

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=on

How to Use

Setup IDE

jeka intellij: sync

Build

Help on convention KBean:

jeka convention: --doc

Run a full build, including sonarqube and end-2-end tests

jeka build

Run a full build, excluding sonar analysis

jeka test pack e2eTest

Run the bootable jar:

jeka runJar

Create a Docker image:

jeka docker: build

Create a Spring-Boot native Docker image:

jeka docker: buildNative

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published