A Tour of MallBot
Explore the MallBot application as a modular monolith in Golang, understand its structure using screaming architecture, and see how it integrates event-driven design to balance microservices benefits with simplicity. Learn how modules connect to shared infrastructure without direct dependencies.
We'll cover the following...
Our MallBots application is a modular monolith, which is an application design that sits somewhere between a classic monolith design and a microservices application design. We have most of the benefits of both designs with only a few downsides.
The responsibilities of the monolith
The root directory of our code is kept minimal, and what stands out are the module names. We intentionally avoid the use of generic or general layer names, such as controllers, config, or models, in the root directory. We use application component names, such as ...