DEV Community

Discussion on: How do you organise code in a monolith?

Collapse
 
rhymes profile image
rhymes • Edited

Shopify has a great article named Deconstructing the Monolith: Designing Software that Maximizes Developer Productivity in which they reorganized their monolith in components, not dissimilar from your example. They divided the code by real world concepts instead of function. Like mini apps inside the monolith.

I think it's quite common for apps after a certain size to reorganize directories by "domain objects" instead grouping by functionality.