Skip to content

tomato-architecture/tomato-architecture-spring-boot-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tomato-architecture-spring-boot-demo

A sample Spring Boot application following Tomato Architecture

Prerequisites

  • JDK 25
  • Docker Compose

TechStack

  • Java 25
  • Spring Boot
  • Spring Modulith
  • jOOQ
  • PostgreSQL
  • Kafka
  • Testcontainers
  • Docker Compose

How to run?

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:run

Run tests

You can run the tests as follows:

$ ./mvnw test

About

A BookStore application using Spring Boot following Tomato Architecture

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages