Back to Trending
RepositoryC#PLPoland
KG

kgrzybek/modular-monolith-with-ddd

Full Modular Monolith application with Domain-Driven Design approach.

14.1kstars
2.2kforks
62issues
4views

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

1
TINIX TRENDING·Chủ đề: ddd-architecture

#1 Repository Của Tuần

1
TINIX TRENDING·Chủ đề: architecture

#1 Repository Của Tuần

1
TINIX TRENDING·Chủ đề: dotnetcore

#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.

RepositoryC#
evolutionary-architecture/evolutionary-architecture-by-example

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.

3.6k
Oct 26, 2026
RepositoryC#
ardalis/CleanArchitecture

Clean Architecture Solution Template: A proven Clean Architecture Template for ASP.NET Core 10

18.6k
Nov 16, 2026
RepositoryC#
dotnet-architecture/eShopOnWeb

Sample ASP.NET Core 8.0 reference application, now community supported: https://github.com/NimblePros/eShopOnWeb

10.7k
Jan 13, 2025
RepositoryC#
kgrzybek/sample-dotnet-core-cqrs-api

Sample .NET Core REST API CQRS implementation with raw SQL and DDD using Clean Architecture.

3.1k
Feb 27, 2024
RepositoryTypeScript
mehdihadeli/awesome-software-architecture

📚 A curated list of awesome articles, videos, and other resources to learn and practice software architecture, patterns, and principles.

11.8k
Nov 16, 2026
RepositoryC#
aspnetboilerplate/aspnetboilerplate

ASP.NET Boilerplate - Web Application Framework

12.0k
Oct 26, 2026
RepositoryC#
EduardoPires/EquinoxProject

Web Application ASP.NET 9 using Clean Architecture, DDD, CQRS, Event Sourcing and a lot of good practices

6.8k
Apr 14, 2026
RepositoryC#
ivanpaulovich/clean-architecture-manga

:cyclone: Clean Architecture with .NET6, C#10 and React+Redux. Use cases as central organizing structure, completely testable, decoupled from frameworks

4.4k
Jun 22, 2026
RepositoryC#
phongnguyend/Practical.CleanArchitecture

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), ...

2.5k
Nov 15, 2026