A modular monolith is a single application, built and deployed as one unit, whose code is divided into modules with clear boundaries. It keeps the operational simplicity of a monolith while avoiding the tangle that makes many monoliths hard to change. For most new products it is the right place to start.
Organise by business capability
Structure the code around what the business does, such as orders, billing, catalogue and customers, rather than around technical layers like controllers and repositories. Each module owns its data, its rules and its public interface.
Rules that keep boundaries real
- Modules talk through defined interfaces or events, never by reaching into each other’s tables
- Each module owns its database tables or schema
- Shared code is limited to genuinely generic utilities
- Dependency rules are checked automatically in the build
Splitting later
If a module later needs to scale on its own, be deployed by a separate team or use different technology, a clean boundary makes extracting it into a service a contained piece of work. Without boundaries, the same move becomes a rewrite.
Our engineers and consultants write about what they see in real projects. Have a question about your own systems?





