tarczynskitomek / sample-spring-modulith

The demo repository showing modulith architecture with Spring Boot and Spring Modulith

Home Page:https://piotrminkowski.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Modulith with Spring Boot Demo Project Twitter

CircleCI

SonarCloud Bugs Coverage Lines of Code

In this project, I'm demonstrating how to implement the modulith app using Spring support. Here are the docs about the project.

  1. How to organize the SpringBoot in modular way and use Spring Modulith to simplify and verify the app structure: Guide to Modulith with Spring Boot

Architecture

Our sample app is divided into 4 logical modules:

  • department - manage Department entity
  • employee - manage Employee entity
  • gateway - expose internal modules over REST API
  • organization - manage Organization entity

The following picture illustrates the architecture described above.


Running

You need to have JDK17+ and Maven. Also run Docker on your machine to enable Zipkin container. Then just run the app with the following command:

$ mvn spring-boot:run

About

The demo repository showing modulith architecture with Spring Boot and Spring Modulith

https://piotrminkowski.com/


Languages

Language:Java 100.0%