<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>E-Commerce on TECHFOR by Suriya Sonphu</title><link>http://suriyasonphu.com/en/tags/e-commerce/</link><description>Recent content in E-Commerce on TECHFOR by Suriya Sonphu</description><generator>Hugo -- gohugo.io</generator><language>en</language><lastBuildDate>Sun, 27 Jul 2025 00:00:00 +0000</lastBuildDate><atom:link href="http://suriyasonphu.com/en/tags/e-commerce/index.xml" rel="self" type="application/rss+xml"/><item><title>Modular Monolith: Architecture that combines the benefits of Monolith and Microservices</title><link>http://suriyasonphu.com/en/post/2025-07-27-modular-monolith-architecture/</link><pubDate>Sun, 27 Jul 2025 00:00:00 +0000</pubDate><guid>http://suriyasonphu.com/en/post/2025-07-27-modular-monolith-architecture/</guid><description>&lt;img src="http://suriyasonphu.com/post/2025-07-27-modular-monolith-architecture/modular-monolith-cover.png" alt="Featured image of post Modular Monolith: Architecture that combines the benefits of Monolith and Microservices" />&lt;h2 id="what-is-modular-monolith-and-why-its-an-interesting-alternative">What is Modular Monolith and Why It&amp;rsquo;s an Interesting Alternative
&lt;/h2>&lt;p>Modular Monolith is a software architecture that combines the benefits of &lt;strong>Monolith&lt;/strong> and &lt;strong>Microservices&lt;/strong> by organizing code into modules with clear bounded contexts while maintaining single deployment unit.&lt;/p>
&lt;h3 id="problems-with-traditional-monolith">Problems with Traditional Monolith
&lt;/h3>&lt;p>&lt;strong>Traditional Monolith&lt;/strong> often suffers from:&lt;/p>
&lt;ul>
&lt;li>&lt;strong>Tightly Coupled Code&lt;/strong>: All parts are tightly bound, making changes difficult&lt;/li>
&lt;li>&lt;strong>Single Point of Failure&lt;/strong>: If one part fails, the entire system fails&lt;/li>
&lt;li>&lt;strong>Technology Lock-in&lt;/strong>: Must use the same technology stack throughout&lt;/li>
&lt;li>&lt;strong>Difficult to Scale&lt;/strong>: Cannot scale specific parts independently&lt;/li>
&lt;/ul>
&lt;h3 id="problems-with-microservices">Problems with Microservices
&lt;/h3>&lt;p>While &lt;strong>Microservices&lt;/strong> solve many monolith problems, they introduce additional complexity:&lt;/p>
&lt;ul>
&lt;li>&lt;strong>Distributed System Complexity&lt;/strong>: Complexity of distributed systems&lt;/li>
&lt;li>&lt;strong>Network Latency&lt;/strong>: Delays from network communication&lt;/li>
&lt;li>&lt;strong>Data Consistency&lt;/strong>: Data consistency challenges&lt;/li>
&lt;li>&lt;strong>Operational Overhead&lt;/strong>: Requires strong DevOps teams&lt;/li>
&lt;li>&lt;strong>Development Complexity&lt;/strong>: Complexity in development and debugging&lt;/li>
&lt;/ul>
&lt;h3 id="modular-monolith-a-balanced-solution">Modular Monolith: A Balanced Solution
&lt;/h3>&lt;p>Modular Monolith offers a balanced approach:&lt;/p>
&lt;p>&lt;strong>✅ Benefits:&lt;/strong>&lt;/p>
&lt;ul>
&lt;li>&lt;strong>Modularity&lt;/strong>: Clear module separation by business domain&lt;/li>
&lt;li>&lt;strong>Loose Coupling&lt;/strong>: Modules communicate through defined interfaces&lt;/li>
&lt;li>&lt;strong>Single Deployment&lt;/strong>: Easy to deploy and maintain&lt;/li>
&lt;li>&lt;strong>Easier Testing&lt;/strong>: Easier to test than distributed systems&lt;/li>
&lt;li>&lt;strong>Gradual Migration&lt;/strong>: Can be extracted to microservices in the future&lt;/li>
&lt;/ul>
&lt;p>&lt;strong>⚠️ Considerations:&lt;/strong>&lt;/p>
&lt;ul>
&lt;li>&lt;strong>Technology Constraint&lt;/strong>: Still limited by primary technology&lt;/li>
&lt;li>&lt;strong>Shared Database&lt;/strong>: May have data coupling issues&lt;/li>
&lt;li>&lt;strong>Resource Scaling&lt;/strong>: Cannot scale individual modules separately&lt;/li>
&lt;/ul>
&lt;h2 id="architecture-of-modular-monolith-e-commerce-application">Architecture of Modular Monolith E-commerce Application
&lt;/h2>&lt;p>I created a &lt;a class="link" href="https://github.com/suriyasonp/modular-monolith-ecommerce" target="_blank" rel="noopener"
>Modular Monolith E-commerce Application&lt;/a> using C# and ASP.NET Core to demonstrate the application of these principles in real system development.&lt;/p>
&lt;h3 id="-architecture-overview">🏗️ Architecture Overview
&lt;/h3>&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-text" data-lang="text">&lt;span style="display:flex;">&lt;span>ECommerceApp/
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>├── src/
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>│ ├── ECommerceApp/ # Main Web API Application
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>│ │ ├── Controllers/ # API Controllers
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>│ │ ├── Program.cs # Application entry point
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>│ │ └── ECommerceApp.csproj
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>│ ├── ECommerceApp.Shared/ # Shared Kernel
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>│ │ ├── Events/ # Domain Events
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>│ │ ├── Kernel/ # Base entities, interfaces
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>│ │ └── ECommerceApp.Shared.csproj
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>│ └── Modules/
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>│ ├── Orders/ # Orders Module
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>│ │ ├── Application/ # Use cases, commands, queries
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>│ │ ├── Domain/ # Domain entities, events
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>│ │ ├── Infrastructure/ # Data access, repositories
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>│ │ ├── OrdersModule.cs # Module registration
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>│ │ └── ECommerceApp.Modules.Orders.csproj
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>│ ├── Products/ # Products Module
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>│ │ ├── Application/
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>│ │ ├── Domain/
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>│ │ ├── Infrastructure/
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>│ │ ├── ProductsModule.cs
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>│ │ └── ECommerceApp.Modules.Products.csproj
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>│ └── Customers/ # Customers Module
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>│ ├── Domain/
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>│ ├── Infrastructure/
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>│ ├── CustomersModule.cs
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>│ └── ECommerceApp.Modules.Customers.csproj
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h3 id="-key-principles-of-modular-monolith">🎯 Key Principles of Modular Monolith
&lt;/h3>&lt;p>&lt;strong>1. Modules&lt;/strong>
Each module represents a distinct business capability such as Orders, Products, Customers&lt;/p>
&lt;p>&lt;strong>2. Encapsulation&lt;/strong>
Modules hide internal details and expose only necessary functionality through interfaces&lt;/p>
&lt;p>&lt;strong>3. Shared Kernel&lt;/strong>
Common functionality such as base entities, common utilities, domain events&lt;/p>
&lt;p>&lt;strong>4. Communication&lt;/strong>
Modules communicate through interfaces or domain events, avoiding direct dependencies&lt;/p>
&lt;p>&lt;strong>5. Single Deployment&lt;/strong>
All modules are deployed together as a single unit&lt;/p>
&lt;h2 id="getting-started">Getting Started
&lt;/h2>&lt;h3 id="prerequisites">Prerequisites
&lt;/h3>&lt;ul>
&lt;li>.NET 8.0 SDK&lt;/li>
&lt;li>Visual Studio Code or Visual Studio&lt;/li>
&lt;/ul>
&lt;h3 id="quick-start">Quick Start
&lt;/h3>&lt;p>&lt;strong>1. Clone Repository:&lt;/strong>&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span>git clone https://github.com/suriyasonp/modular-monolith-ecommerce.git
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>cd modular-monolith-ecommerce
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>&lt;strong>2. Run Application:&lt;/strong>&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># Method 1: Using script (Recommended)&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>./run.sh
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># Method 2: Manual run&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>dotnet build
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>dotnet run --project src/ECommerceApp/ECommerceApp.csproj
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>&lt;strong>3. Access API:&lt;/strong>&lt;/p>
&lt;ul>
&lt;li>&lt;strong>Swagger UI&lt;/strong>: &lt;a class="link" href="http://localhost:5000/swagger/index.html" target="_blank" rel="noopener"
>http://localhost:5000/swagger/index.html&lt;/a>&lt;/li>
&lt;li>&lt;strong>API Base URL&lt;/strong>: &lt;a class="link" href="http://localhost:5000/api" target="_blank" rel="noopener"
>http://localhost:5000/api&lt;/a>&lt;/li>
&lt;li>&lt;strong>Sample Products&lt;/strong>: Data will be automatically seeded on startup&lt;/li>
&lt;/ul>
&lt;h3 id="testing-the-application">Testing the Application
&lt;/h3>&lt;p>&lt;strong>Quick Test Script:&lt;/strong>&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span>./test-api.sh
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h2 id="key-api-endpoints">Key API Endpoints
&lt;/h2>&lt;h3 id="products-api">Products API
&lt;/h3>&lt;ul>
&lt;li>&lt;code>GET /api/products&lt;/code> - Get all products&lt;/li>
&lt;li>&lt;code>GET /api/products/{id}&lt;/code> - Get product by ID&lt;/li>
&lt;li>&lt;code>POST /api/products&lt;/code> - Create new product&lt;/li>
&lt;li>&lt;code>PUT /api/products/{id}/price&lt;/code> - Update product price&lt;/li>
&lt;li>&lt;code>PUT /api/products/{id}/stock&lt;/code> - Update product stock&lt;/li>
&lt;/ul>
&lt;h3 id="customers-api">Customers API
&lt;/h3>&lt;ul>
&lt;li>&lt;code>GET /api/customers&lt;/code> - Get all customers&lt;/li>
&lt;li>&lt;code>GET /api/customers/{id}&lt;/code> - Get customer by ID&lt;/li>
&lt;li>&lt;code>POST /api/customers&lt;/code> - Create new customer&lt;/li>
&lt;/ul>
&lt;h3 id="orders-api">Orders API
&lt;/h3>&lt;ul>
&lt;li>&lt;code>GET /api/orders&lt;/code> - Get all orders&lt;/li>
&lt;li>&lt;code>GET /api/orders/{id}&lt;/code> - Get order by ID&lt;/li>
&lt;li>&lt;code>GET /api/orders/customer/{customerId}&lt;/code> - Get orders by customer&lt;/li>
&lt;li>&lt;code>POST /api/orders&lt;/code> - Create new order&lt;/li>
&lt;li>&lt;code>POST /api/orders/{id}/confirm&lt;/code> - Confirm order&lt;/li>
&lt;li>&lt;code>POST /api/orders/{id}/ship&lt;/code> - Ship order&lt;/li>
&lt;li>&lt;code>POST /api/orders/{id}/deliver&lt;/code> - Deliver order&lt;/li>
&lt;/ul>
&lt;h2 id="benefits-and-drawbacks-of-modular-monolith">Benefits and Drawbacks of Modular Monolith
&lt;/h2>&lt;h3 id="-benefits">✅ Benefits
&lt;/h3>&lt;h4 id="1-deployment-simplicity">1. Deployment Simplicity
&lt;/h4>&lt;ul>
&lt;li>Deploy as single unit, reducing infrastructure complexity&lt;/li>
&lt;li>No need to worry about service discovery or load balancing&lt;/li>
&lt;li>Easy rollbacks&lt;/li>
&lt;/ul>
&lt;h4 id="2-performance">2. Performance
&lt;/h4>&lt;ul>
&lt;li>No network latency between modules&lt;/li>
&lt;li>Communication is in-process calls&lt;/li>
&lt;li>Cross-module transactions are straightforward&lt;/li>
&lt;/ul>
&lt;h4 id="3-development-and-debugging">3. Development and Debugging
&lt;/h4>&lt;ul>
&lt;li>Easier to debug than distributed systems&lt;/li>
&lt;li>Better IDE support&lt;/li>
&lt;li>Simpler end-to-end testing&lt;/li>
&lt;/ul>
&lt;h4 id="4-operational-costs">4. Operational Costs
&lt;/h4>&lt;ul>
&lt;li>Lower infrastructure requirements&lt;/li>
&lt;li>No need for large DevOps teams&lt;/li>
&lt;li>Simpler monitoring and logging&lt;/li>
&lt;/ul>
&lt;h4 id="5-future-flexibility">5. Future Flexibility
&lt;/h4>&lt;ul>
&lt;li>Can be extracted to microservices when necessary&lt;/li>
&lt;li>Well-designed modules are easily extractable&lt;/li>
&lt;/ul>
&lt;h3 id="-drawbacks">⚠️ Drawbacks
&lt;/h3>&lt;h4 id="1-technology-constraints">1. Technology Constraints
&lt;/h4>&lt;ul>
&lt;li>Must use the same primary technology&lt;/li>
&lt;li>Difficult to use different tech stacks&lt;/li>
&lt;/ul>
&lt;h4 id="2-scaling">2. Scaling
&lt;/h4>&lt;ul>
&lt;li>Cannot scale individual modules separately&lt;/li>
&lt;li>Resource utilization may not be optimal&lt;/li>
&lt;/ul>
&lt;h4 id="3-database-coupling">3. Database Coupling
&lt;/h4>&lt;ul>
&lt;li>Shared database may create coupling issues&lt;/li>
&lt;li>Schema migrations need careful consideration&lt;/li>
&lt;/ul>
&lt;h4 id="4-team-independence">4. Team Independence
&lt;/h4>&lt;ul>
&lt;li>Teams still need to coordinate deployments&lt;/li>
&lt;li>Shared codebase may be problematic for large teams&lt;/li>
&lt;/ul>
&lt;h2 id="when-to-use-modular-monolith">When to Use Modular Monolith
&lt;/h2>&lt;h3 id="-suitable-for">🎯 Suitable for
&lt;/h3>&lt;h4 id="1-small-to-medium-teams-2-20-people">1. Small to Medium Teams (2-20 people)
&lt;/h4>&lt;ul>
&lt;li>Limited resources for infrastructure complexity&lt;/li>
&lt;li>Need high development velocity&lt;/li>
&lt;/ul>
&lt;h4 id="2-new-applications">2. New Applications
&lt;/h4>&lt;ul>
&lt;li>Uncertain about domain boundaries&lt;/li>
&lt;li>Need rapid prototyping and iteration&lt;/li>
&lt;/ul>
&lt;h4 id="3-unclear-requirements">3. Unclear Requirements
&lt;/h4>&lt;ul>
&lt;li>Business requirements change frequently&lt;/li>
&lt;li>Need flexibility for adjustments&lt;/li>
&lt;/ul>
&lt;h4 id="4-limited-devops-capability">4. Limited DevOps Capability
&lt;/h4>&lt;ul>
&lt;li>Team not ready for distributed systems&lt;/li>
&lt;li>Infrastructure automation not mature&lt;/li>
&lt;/ul>
&lt;h3 id="-not-suitable-for">🚫 Not Suitable for
&lt;/h3>&lt;h4 id="1-large-organizations-with-many-teams">1. Large Organizations with Many Teams
&lt;/h4>&lt;ul>
&lt;li>Teams need high independence&lt;/li>
&lt;li>Different release cycles&lt;/li>
&lt;/ul>
&lt;h4 id="2-very-different-requirements">2. Very Different Requirements
&lt;/h4>&lt;ul>
&lt;li>Different scalability requirements per module&lt;/li>
&lt;li>Need different technologies&lt;/li>
&lt;/ul>
&lt;h4 id="3-high-compliance-and-security-constraints">3. High Compliance and Security Constraints
&lt;/h4>&lt;ul>
&lt;li>Need isolation between components&lt;/li>
&lt;li>Strict regulatory requirements&lt;/li>
&lt;/ul>
&lt;h2 id="migration-path-planning">Migration Path Planning
&lt;/h2>&lt;h3 id="phase-1-start-with-modular-monolith">Phase 1: Start with Modular Monolith
&lt;/h3>&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-text" data-lang="text">&lt;span style="display:flex;">&lt;span>Traditional Monolith → Modular Monolith
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>&lt;strong>Activities:&lt;/strong>&lt;/p>
&lt;ul>
&lt;li>Identify domain boundaries&lt;/li>
&lt;li>Create modules by business capabilities&lt;/li>
&lt;li>Implement interfaces for inter-module communication&lt;/li>
&lt;li>Add domain events infrastructure&lt;/li>
&lt;/ul>
&lt;h3 id="phase-2-improve-module-independence">Phase 2: Improve Module Independence
&lt;/h3>&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-text" data-lang="text">&lt;span style="display:flex;">&lt;span>Tightly Coupled Modules → Loosely Coupled Modules
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>&lt;strong>Activities:&lt;/strong>&lt;/p>
&lt;ul>
&lt;li>Separate databases per module&lt;/li>
&lt;li>Use event-driven communication&lt;/li>
&lt;li>Implement distributed tracing&lt;/li>
&lt;li>Add per-module monitoring&lt;/li>
&lt;/ul>
&lt;h3 id="phase-3-selective-microservices-extraction">Phase 3: Selective Microservices Extraction
&lt;/h3>&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-text" data-lang="text">&lt;span style="display:flex;">&lt;span>Modular Monolith → Hybrid Architecture
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>&lt;strong>Activities:&lt;/strong>&lt;/p>
&lt;ul>
&lt;li>Identify modules suitable for extraction&lt;/li>
&lt;li>Extract modules with different scaling needs&lt;/li>
&lt;li>Implement API gateways&lt;/li>
&lt;li>Setup service mesh&lt;/li>
&lt;/ul>
&lt;h2 id="conclusion">Conclusion
&lt;/h2>&lt;p>Modular Monolith is a suitable architecture for many types of organizations, especially teams that want the benefits of modularity but are not ready for the complexity of microservices.&lt;/p>
&lt;h3 id="-key-takeaways">🔑 Key Takeaways
&lt;/h3>&lt;p>&lt;strong>1. Start Simple&lt;/strong>&lt;/p>
&lt;ul>
&lt;li>Use Modular Monolith as starting point&lt;/li>
&lt;li>Focus on domain modeling and clean boundaries&lt;/li>
&lt;li>Improve gradually&lt;/li>
&lt;/ul>
&lt;p>&lt;strong>2. Design for Change&lt;/strong>&lt;/p>
&lt;ul>
&lt;li>Use interfaces for inter-module communication&lt;/li>
&lt;li>Implement domain events infrastructure&lt;/li>
&lt;li>Prepare monitoring and observability&lt;/li>
&lt;/ul>
&lt;p>&lt;strong>3. Plan Migration Path&lt;/strong>&lt;/p>
&lt;ul>
&lt;li>Identify modules that may need extraction in the future&lt;/li>
&lt;li>Design data access patterns that support separation&lt;/li>
&lt;li>Build culture of modular thinking&lt;/li>
&lt;/ul>
&lt;p>&lt;strong>4. Focus on Business Value&lt;/strong>&lt;/p>
&lt;ul>
&lt;li>Don&amp;rsquo;t let technical complexity overshadow business goals&lt;/li>
&lt;li>Use architecture appropriate for team and context&lt;/li>
&lt;li>Remember: Architecture is means, not end&lt;/li>
&lt;/ul>
&lt;h3 id="-next-steps">🚀 Next Steps
&lt;/h3>&lt;ol>
&lt;li>&lt;strong>Study the Code&lt;/strong>: Visit the &lt;a class="link" href="https://github.com/suriyasonp/modular-monolith-ecommerce" target="_blank" rel="noopener"
>repository&lt;/a> to understand implementation details&lt;/li>
&lt;li>&lt;strong>Try Running&lt;/strong>: Execute &lt;code>./test-api.sh&lt;/code> to see all functionality&lt;/li>
&lt;li>&lt;strong>Add Features&lt;/strong>: Try creating new modules following established patterns&lt;/li>
&lt;li>&lt;strong>Apply to Production&lt;/strong>: Adapt for production environment&lt;/li>
&lt;/ol>
&lt;p>Modular Monolith is not a silver bullet, but it&amp;rsquo;s an effective tool for building maintainable, scalable, and evolvable systems in the long term.&lt;/p>
&lt;h2 id="references">References
&lt;/h2>&lt;ol>
&lt;li>&lt;a class="link" href="https://github.com/suriyasonp/modular-monolith-ecommerce" target="_blank" rel="noopener"
>Modular Monolith E-commerce Repository&lt;/a> - Implementation Example&lt;/li>
&lt;li>&lt;a class="link" href="https://domainlanguage.com/ddd/" target="_blank" rel="noopener"
>Domain-Driven Design&lt;/a> - Eric Evans&lt;/li>
&lt;li>&lt;a class="link" href="https://www.kamilgrzybek.com/design/modular-monolith-primer/" target="_blank" rel="noopener"
>Modular Monoliths&lt;/a> - Kamil Grzybek&lt;/li>
&lt;li>&lt;a class="link" href="https://samnewman.io/books/building_microservices/" target="_blank" rel="noopener"
>Building Microservices&lt;/a> - Sam Newman&lt;/li>
&lt;li>&lt;a class="link" href="https://blog.cleancoder.com/uncle-bob/2012/08/13/the-clean-architecture.html" target="_blank" rel="noopener"
>Clean Architecture&lt;/a> - Robert C. Martin&lt;/li>
&lt;li>&lt;a class="link" href="https://docs.microsoft.com/en-us/aspnet/core/" target="_blank" rel="noopener"
>ASP.NET Core Documentation&lt;/a> - Microsoft Docs&lt;/li>
&lt;li>&lt;a class="link" href="https://blog.bytebytego.com/p/monolith-vs-microservices-vs-modular" target="_blank" rel="noopener"
>Monolith vs Microservices vs Modular Monoliths&lt;/a> - Monolith vs Microservices vs Modular Monoliths&lt;/li>
&lt;/ol>
&lt;hr></description></item></channel></rss>