Project Awesome project awesome

Domain-Driven Design

Software development approach for complex needs by connecting the implementation to an evolving model.

Collection 12.2k stars GitHub

Sample Projects

.NET (C#/F#)

eShopOnWeb 10.6k (archived)

Full ASP.NET Core 3.1 reference application from Microsoft showing monolithic deployment architecture

Better code with DDD building blocks 320 updated 3mo ago

solution presents usage of DDD tactical patterns to achieve better readability and expressiveness of the code. Applying DDD patterns together with ubiquitous language closes the gap between language spoken by experts and the team and language used in the code.

CQRS-DDD Example 133 updated 12y ago

Domain Driven Design, CQRS, & Event Sourcing Example using GetEventStore, CommonDomain, NServiceBus, Entity Framework, SQL Server, SignalR.

Companion Code for Microsoft .NET Architecting Applications for the Enterprise 506 updated 2y ago

An event based Micro ERP.

ContosoUniversityCore 589 updated 8y ago

ContosoUniversity on ASP.NET Core with Full .NET Framework.

DDD-starter-dotnet 403 updated 6mo ago

Sample implementation and comparison of various approaches to building DDD applications. Useful as a baseline to quickly start a DDD .net project.

DDDInventoryItemFSharp 186 updated 5y ago

An idiomatic F# implementation of Domain-Driven Design

DDDSkeletonNet

(C#) - a .NET skeleton project to introduce the concepts of Domain Driven Design and loosely coupled layers.

DotNet CQRS Intro 138 updated 6y ago

Examples of implementation CQRS with Event Sourcing - evolutionary approach (no CQRS, separate models and commands with the same model, separate models and commands with separate models, separate storage engines, event sourcing).

EmailMaker 13 updated 10mo ago

Email marketing ASP.NET Core MVC and ASP.NET MVC demo app demonstrating CoreDdd usage

Equinox Project 6.8k updated 9mo ago

Full ASP.NET Core 3.1 application with Clean Architecture, DDD, CQRS and Event Sourcing concepts

eShopOnContainersDDD

eShop fullstack example featuring catalog, basket, checkout, and order bounded contexts

Example of Domain-Driven Design in F#

Example of Domain Driven Design for the game of checkers. There are two files: a scratch file with a series of designs, and a final version.

Event Sourcing .NET

samples and resources about Event Sourcing and CQRS in .NET. Contains also a self-paced kit of how to built own Event Store

EventFlow.Example 205 updated 3y ago

DDD, CQRS, and Event-Sourcing example and contains following technology stack: EventFlow, EventStore, RabbitMQ, MongoDB, PostgreSQL, Docker

Fohjin 697 updated 2y ago

Example project that accompanies Mark Nijhof's CQRS book.

FsUno 76 (archived)

Event sourcing implementation sample in F#.

IDDD Samples in .NET 940 updated 3y ago

These are the sample Bounded Contexts for C#.NET from the book "Implementing Domain-Driven Design" by Vaughn Vernon.

LexiQuest-Modular-DDD 7 updated 1y ago

Modular application built with Clean Architecture and DDD principles which is ready to quickly get splitted into microserves.

Microsoft Patterns and Practices: CQRS Journey Sample Code 1.4k (archived)

Sample code from CQRS Journey.

Modular Monolith 13.5k updated 1y ago

Full Modular Monolith .NET application with Domain-Driven Design approach.

Modular.StarterTemplate 4 updated 1y ago

Starter template for a modular application in Clean Architecture DDD style with synchronous interaction between modules within single transaction. Perfect for ERP applications.

NLayerAppV3 155 updated 7y ago

(.Net Core Preview 2) - a N-Layered Architecture Sample Project.

Photostock CQRS-DDD Example
Reactive Trader Cloud 1.9k updated 9mo ago

Reactive Trader Cloud by Adaptive Consulting.

Sample .NET Core CQRS REST API 3.1k updated 2y ago

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

Scritchy 66 updated 2y ago

CQRS without the Plumbing, video.

Simple CQRS in F#

Greg Young's SimpleCQRS in F#.

SimpleCQRS

Greg Young's "Simplest Thing" CQRS with Event Sourcing project.

TaskoMask 722 updated 7mo ago

Task management system based on .NET Core with DDD, CQRS and Event Sourcing Concepts.

TodoMVC-DDD-CQRS-EventSourcing 257 updated 3y ago

Implementation of basic Todo app via tastejs/todomvc in C#/Typescript with eventsourcing, cqrs, and domain driven design

JVM languages

Akka CQRS ES Demo 56 (archived)

Demo project to implement the CQRS and Event Sourcing patterns in Scala-Akka.

DDD By Examples - Library

sample project of a library driven by real business requirements. Modular monolith implemented with the help od DDD, BDD, EventStorming, Example Mapping, CQRS, and more.

DDD Leaven 879 updated 2y ago

DDD-CQRS sample v2.0 project that helps you with starting out advanced domain modeling using Spring, JPA and testing.

DDD Workshop - Project Manager 62 updated 3y ago

"Do It Yourself" DDD workshop and a sample DDD application at the same time. Based on a project managing domain.

Event Sourcing Example 100 updated 8y ago

A simplified (in memory) example of Event Sourcing and CQRS implementation for Java code (modeled for banking domain use cases).

Event Sourcing and CQRS Examples 591 updated 14d ago

A pragmatic application of Event Sourcing and CQRS in Java with good references for common related problems, e.g. event ordering and idempotency.

Event Sourcing and CQRS Sample 476 updated 7y ago

Sample event sourced application with Command Query Responsibility Segregation

IDDD Samples

These are the sample Bounded Contexts from the book "Implementing Domain-Driven Design" by Vaughn Vernon.

Java CQRS Intro 213 updated 1y ago

Examples of implementation CQRS with Event Sourcing - evolutionary approach (no CQRS, separate models and commands with the same model, separate models and commands with separate models, separate storage engines, event sourcing).

Kotlin DDD Sample

Sample DDD/CQRS project written in Kotlin.

EventStormingWorkshop - Designing Cloud Native Microservices On AWS 320 updated 3mo ago

A concrete sample to go through EventStorming workshop and implement DDD tactical design pattern in Java, apply AWS cloud native services to build up business Event based Coffeeshop scenario.

DDDSample 5.3k updated 9mo ago

Sample DDD project using Spring Boot (originally hosted in http://dddsample.sourceforge.net/)

Eclipse CargoTracker 375 updated 1mo ago

This project demonstrates how you can develop applications with the Jakarta EE platform using widely adopted architectural best practices like Domain-Driven Design (DDD). The code is intended to mirror a non-trivial application that developers in the real work would work on. It attempts to demonstrate first-hand how you can use Jakarta EE to effectively meet practical enterprise concerns such as productivity, agility, testability, flexibility, maintainability, scalability and security. The project is directly based on the well known original Java DDD sample application developed by DDD pioneer Eric Evans' company Domain Language and the Swedish software consulting company Citerus.

https://github.com/felipexw/clean-arch-ddd-intro 22 updated 4y ago

Simple DDD + Clean Architecture using Micronaut.

Libraries and Frameworks

.NET

Aggregates.NET 441 updated 9mo ago

.NET event sourced domain driven design model via NServicebus and GetEventStore.

AggregateSource 259 updated 3y ago

Lightweight infrastructure for doing eventsourcing using aggregates.

ByValue

This library helps to create ValueObjects (even with collection properties) with properly implemented equality behavior.

Cedar.CommandHandling

Middleware to handling commands over HTTP; typically used in CQRS applications.

Cirqus 231 (archived)

d60 event sourcing + CQRS framework.

CommandQuery 110 updated 1mo ago

Command Query Separation for ASP.NET Core AWS Lambda Azure Functions Google Cloud Functions ASP.NET Web API 2

CoreDdd 71 updated 15d ago

Set of open-source .NET libraries helping with DDD and CQRS, with NHibernate persistence

CQRS on Azure 26 updated 7y ago

CQRS on Windows Azure.

EventFlow 2.6k updated 3mo ago

Async/await first CQRS+ES and DDD framework for .NET http://geteventflow.net/.

Core.EventStore 6 updated 3y ago

A library to facilitate communication between CommandService and QueryService. The Idea is when any event occures in commandService, it should be persisted in QueryService in MongoDb.

Its.Cqrs 76 (archived)

A set of libraries for CQRS and Event Sourcing, with a Domain-Driven Design flavor.

Marten 3.3k updated 2d ago

Postgresql as a Document Database and Event Store for .Net Applications.

MassTransit

Distributed Application Framework for .NET.

MediatR 11.8k updated 19d ago

Supports request/response, commands, queries, notifications and events, synchronous and async with intelligent dispatching via C# generic variance.

MessageRouter

Described in this video: The Beating Heart of CQRS, or Actor-Based Message Routing on the CLR by Paulmichael Blasucci at the New York F# .NET User Group.

NEventStore 1.6k updated 6mo ago

A persistence library used to abstract different storage implementations when using event sourcing as storage mechanism.

NServiceBus 2.2k updated yesterday

Service bus for .NET.

Projac 138 updated 3y ago

Projac is a set of projection libraries that allow you to write projections targetting various backing stores.

shriek-fx 658 (archived)

An simple,elegant and useful Domain-Driven Design and CQRS framework developed using .NET Core 2.0.

SqlStreamStore

.NET Stream Store library targeting SQL based implementations.

Streamstone

Event Store for Azure Table Storage.

Stringly.Typed 47 updated 7y ago

Making it easier to convert strings to/from .NET types.

Xer.Cqrs 103 updated 7y ago

A simple library for creating applications based on the CQRS pattern with support for attribute routing and hosted handlers. Developed in C# targeting .NET Standard 1.0.

Deveel Repository

A simple implementation of the Repository pattern for .NET, supporting MongoDB and Entity Framework, extending the model with further utilities (caching, paging, validation, etc.).