A sample Spring Boot application following Tomato Architecture
- JDK 21
- Docker Compose
- Java 21
- Spring Boot
- Spring Modulith
- jOOQ
- PostgreSQL
- Kafka
- Testcontainers
- Docker Compose
The application is configured to use Docker Compose to start the dependent services (Postgres, Kafka).
You can simply run BookStoreApplication.java
from your IDE to start the application.
To know more about Spring Boot Docker Compose Support, you can watch the following video.
You can also start the application from commandline as follows:
$ ./mvnw spring-boot:run
You can run the tests as follows:
$ ./mvnw test
The application is using Spring Modulith to verify the module boundaries. To know more about Spring Modulith, you can watch the following video.