A sample Spring Boot application following Tomato Architecture
- JDK 25
- Docker Compose
- Java 25
- 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.
NOTE: To work with Kafka transparently from both local and container, add 127.0.0.1 broker entry in /etc/hosts file.
You can also start the application from commandline as follows:
$ ./mvnw spring-boot:runYou can run the tests as follows:
$ ./mvnw test