Polandkgrzybek/modular-monolith-with-ddd
Full Modular Monolith application with Domain-Driven Design approach.
Thành tựu nổi bật
Những danh hiệu mới nhất của dự án
#1 Repository Của Tuần
#1 Repository Của Tuần
#1 Repository Của Tuần
🏗️ Modular Monolith .NET: DDD đầy đủ, không chỉ là PoC
Một ứng dụng .NET thực chiến, không phải demo nhỏ, tích hợp DDD, CQRS, Event Sourcing, kiểm thử đơn vị & tích hợp, CI/CD, và kiến trúc rõ ràng theo mô hình C4.
Đây là dự án mã nguồn mở .NET được thiết kế theo phương pháp Domain-Driven Design (DDD) và kiến trúc Modular Monolith, nhằm trình bày một ví dụ thực tế, có thể chạy trực tiếp ở môi trường sản phẩm. Tác giả xây dựng dự án này để điền th Gaps trong cộng đồng — nhiều repo mẫu trên GitHub quá đơn giản, chưa hoàn chỉnh, hay không rõ ràng về quyết định thiết kế.
✨ Điểm nổi bật
- Kiến trúc Modular Monolith: tách biệc các module nhưng vẫn chạy trong một quy trình, dễ triển khai nhưng có thể mở rộng thành microservices sau này.
- Domain-Driven Design (tactical patterns): áp dụng các pattern như Entity, Value Object, Aggregate, Repository, Domain Event.
- CQRS + Event Sourcing: xử lý yêu cầu theo hướng lệnh và sự kiện, lưu trữ trạng thái qua chuỗi sự kiện.
- Mô hình C4 & diagram as text: trình bày kiến trúc bằng sơ đồ rõ ràng, dễ bảo trì.
- Kiểm thức đa cấp độ: bao gồm unit tests, integration tests, architecture unit tests, mutation testing.
- CI/CD với GitHub Actions: pipeline tự động build, kiểm tra chất lượng mã nguồn và phân tích tĩnh.
- Quản lý thay đổi CSDL: công cụ hỗ trợ quản lý schema và migration cơ sở dữ liệu.
💡 Vì sao đáng chú ý
Không giống các dự án mẫu mang tính giáo dục mỏng manh, dự án này được thiết kế như một hệ thống thực tế — có xác thực, logging, kiểm thử đầy đủ và các quyết định kiến trúc được ghi nhận rõ ràng. Phù hợp cho các nhóm phát triển muốn học và áp dụng DDD/CQRS một cách có hệ thống trên nền tảng .NET.
#DDD #CQRS #DotNet #CleanArchitecture #ModularMonolith #EventSourcing #TiniX
Similar Projects
Discover other similar projects and AI models.
Navigate the complex landscape of .NET software architecture with our step-by-step, story-like guide. Unpack the interplay between modular monoliths, microservices, domain-driven design, and various architectural patterns. Go beyond the one-size-fits-all solutions and understand how to blend these approaches based on your unique needs.
Clean Architecture Solution Template: A proven Clean Architecture Template for ASP.NET Core 10
Sample ASP.NET Core 8.0 reference application, now community supported: https://github.com/NimblePros/eShopOnWeb
Sample .NET Core REST API CQRS implementation with raw SQL and DDD using Clean Architecture.
📚 A curated list of awesome articles, videos, and other resources to learn and practice software architecture, patterns, and principles.
Web Application ASP.NET 9 using Clean Architecture, DDD, CQRS, Event Sourcing and a lot of good practices
:cyclone: Clean Architecture with .NET6, C#10 and React+Redux. Use cases as central organizing structure, completely testable, decoupled from frameworks
Full-stack .Net 10 Clean Architecture (Microservices, Modular Monolith, Monolith), Blazor, Angular 22, React 19, Vue 3.5, BFF with YARP, NextJs 16, Domain-Driven Design, CQRS, SOLID, Asp.Net Core Identity Custom Storage, OpenID Connect, EF Core, OpenTelemetry, SignalR, Background Services, Health Checks, Rate Limiting, Clouds (Azure, AWS, GCP), ...