Modular Monolith

aka: Modulith, Majestic Monolith

Definition

Why?

Building a modular monolith

Code Structure

Tooling

Modularity vs. DRY – Don't repeat yourself

You must also ignore that urge of being “DRY”. You will probably end up with duplicate code in some places. And that is ok! Rather some duplication of code in independent modules, than unnecessary dependencies between modules.
Build the modular monolith first

Resources

🔗 References

Modulith First! Der angemessene Weg zu Microservices | Informatik Aktuell

Understanding the modular monolith and its ideal use cases | TechTarget

Modular Monolith Architecture | Javarevisited

Microservices Killer: Modular Monolithic Architecture | by Mehmet Ozkaya | Design Microservices Architecture with Patterns & Principles | Medium