An open API service indexing awesome lists of open source software.

awesome-ddd

A curated list of Domain-Driven Design (DDD), Command Query Responsibility Segregation (CQRS), Event Sourcing, and Event Storming resources
https://github.com/heynickc/awesome-ddd

Last synced: 16 days ago
JSON representation

Blogs

  • Cyrille Martraire - Being so immersed in finance while still in love with programming, I’m naturally a big fan of Domain-Driven Design by Eric Evans, along with TDD, BDD and agile/XP practices.
  • Jimmy Bogard - I focus on DDD, distributed systems, and any other acronym-centric design/architecture/methodology.
  • CodeBetter - CodeBetter.Com exists in order to help foster awareness of better practices, superior tools, proven methodologies and techniques within the software development community.
  • InfoQ Blog - Domain-Driven Design Content on InfoQ.
  • Dan North - Inventor of Behavior-Driven Design. Blogs and talks about Event Storming also.
  • Vaughn Vernon - Vaughn Vernon understands the unique demands of software development and the challenges you face as you improve your craft in a fast-paced industry.
  • Eventsourcing Publications - Practical event sourcing.
  • Chris Patterson - From the creator of the MassTransit distributed application framework.
  • Adaptech - Adaptech Solutions blog. Our founder, Adam Dymitruk, debated the merits of CQRS with Greg Young before Greg coined the term. Adam and business partner Robert Reppel are among the leading practitioners of event-sourced microservices.
  • Dino Esposito - Software architect, trainer, book author. Author of Microsoft .NET - Architecting Applications for the Enterprise (2nd Edition).
  • Arkency - Various DDD, CQRS, Event Sourcing related articles from Ruby experts.
  • Martin Havlišta - DDD, CQRS, TDD blog posts with code samples in C# .NET
  • Khalil Stemmler - DDD series introduction and talk about how to implement DDD with TypeScript
  • Greg Young - Good Enough Software is By Definition Good Enough.
  • Aardling Blog - DDD and software design articles from Mathias Verraes and others.
  • Nick Chamberlain - Helpful development and design advice for .NET developers.
  • Ardalis.com - Steve Smith. Pluralsight author and author of DDD Fundamentals course and Microsoft eShopOnWeb sample app.
  • Mike Mogosanu - Maintainable code is a business advantage. Creator of Domain Map: The Domain Modeling Tool - Easy And Powerful Domain Driven Design.
  • Jef Claes - Excellent articles and talks on Domain-Driven Design.
  • Konrad Garus - Ranting and Programming in Java, Clojure, and JavaScript. Articles tagged under cqrs.
  • Oasis Digital - Content by Oasis Digital tagged under cqrs.
  • Lev Gorodinski - Several articles about DDD from 2013, which are still relevant.
  • Dan Bergh Johnsson "Dear Junior" - Domain-Driven Design mixed with security, and agile in general. Written as fictional letters to a younger programmer.
  • Svaťa Šimara - DDD series - language, domain, modeling, infrastructure, implementation in PHP
  • Aaron Stannard - From the CTO and co-founder of Petabridge, developers of the Akka.NET Actor Model framework.
  • Roger Johansson - Mostly C#, DDD, and Akka.NET.
  • Kenny Baas-Schwegler - DDD, BDD, Socio-technical, EventStorming and continuous delivery blogs.
  • Vladimir Khorikov - Pluralsight author. Blogs about software development principles and best practices.
  • TechBeacon - Articles on TechBeacon tagged domain driven design.
  • DDD Weekly - Weekly curated links related to DDD/CQRS/ES.
  • Christian Posta - Principal Middleware Architect @ Red Hat, open-source enthusiast, committer @ Apache, Cloud, Integration, Kubernetes, Docker, OpenShift, Fabric8.

Books

Community Resources

Conferences

Free eBooks

Libraries and Frameworks

Databases

  • Serialized - Complete platform for Event Sourcing & CQRS.
  • Message DB - Microservice Native Event Store and Message Store for Postgres. A fully-featured event store and message store implemented in PostgreSQL for Pub/Sub, Event Sourcing, Messaging, and Evented Microservices applications.
  • Event Store - The open-source, functional database with Complex Event Processing in JavaScript.

Elixir

  • Event Bus - Traceable, extendable and minimalist event bus implementation for Elixir with built-in event store and event watcher based on ETS.
  • eventstore - CQRS event store using PostgreSQL for persistence.

GO

  • Ginkgo - Ginkgo builds on Go's testing package, allowing expressive Behavior-Driven Development ("BDD") style tests.
  • GOBDD - Small BDD framework for GO.
  • GoConvey - Go testing in the browser. Integrates with go test. Write behavioral tests in Go.
  • Godog - Package godog is the official Cucumber BDD framework for Golang, it merges specification and test documentation into one cohesive whole, using Gherkin formatted scenarios in the format of Given, When, Then.

JavaScript / TypeScript

JVM

  • Spine Event Engine - a CQRS/ES framework for building cloud applications. Defines Bounded Contexts with their Commands, Events, and Entity states in Protobuf. The backend logic is written in Java, on top of the Proto-generated code. Client code in Java, JS or Dart communicates with the backend via gRPC.
  • akka-ddd - Reusable artifacts for building applications on top of the Akka platform following CQRS/DDDD-based approach.
  • DDDplus framework - A lightweight flexible development framework for complex business architecture based on DDD.
  • JESA - Event sourced aggregates for Java.
  • SeedStack's Business Framework - A set of building blocks that enable you to code business logic according to the Domain-Driven Design (DDD) approach.
  • Ahoo-Wang/Wow - A Modern Reactive CQRS Architecture Microservice development framework based on DDD and EventSourcing.
  • Axon Framework - The axon framework is focused on making life easier for developers that want to create a java application based on the CQRS principles.
  • Pure Assert - A lightweight, zero-dependency Java library for expressive pure input assertions and domain invariants.

.NET

  • NetDevPack - A smart set of common classes and implementations to improve your development productivity using .NET (DDD, CQRS, Specification Pattern, MediatR, Validations, Notifications).
  • Dolittle - Build better applications with Dolittle. An Event Sourced, Microservice platform oriented around DDD with developer productivity and simplicity front and center.
  • Aggregates.NET - .NET event sourced domain driven design model via NServicebus and GetEventStore.
  • AggregateSource - Lightweight infrastructure for doing eventsourcing using aggregates.
  • ABP - Successor of ASP.NET Boilerplate - ASP.NET Core based application framework to create NLayered, Domain Driven Designed web applications with a microservice focused modular architecture
  • ByValue - This library helps to create ValueObjects (even with collection properties) with properly implemented equality behavior.
  • CommandQuery - Command Query Separation for 🌐ASP.NET Core ⚡AWS Lambda ⚡Azure Functions ⚡Google Cloud Functions 🌐ASP.NET Web API 2
  • CoreDdd - Set of open-source .NET libraries helping with DDD and CQRS, with NHibernate persistence
  • CQRS on Azure - CQRS on Windows Azure.
  • EventFlow - Async/await first CQRS+ES and DDD framework for .NET http://geteventflow.net/.
  • Core.EventStore - 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 - A set of libraries for CQRS and Event Sourcing, with a Domain-Driven Design flavor.
  • Marten - Postgresql as a Document Database and Event Store for .Net Applications.
  • MassTransit - Distributed Application Framework for .NET.
  • MediatR - Supports request/response, commands, queries, notifications and events, synchronous and async with intelligent dispatching via C# generic variance.
  • NEventStore - A persistence library used to abstract different storage implementations when using event sourcing as storage mechanism.
  • NServiceBus - Service bus for .NET.
  • shriek-fx - An simple,elegant and useful Domain-Driven Design and CQRS framework developed using .NET Core 2.0.
  • Streamstone - Event Store for Azure Table Storage.
  • Stringly.Typed - Making it easier to convert strings to/from .NET types.
  • Xer.Cqrs - 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.).
  • ASP.NET Boilerplate - ASP.NET MVC, Web API and ASP.NET Core based application framework to create NLayered, Domain Driven Designed web Applications implementing best practices.
  • Akka.NET - Akka.NET is a toolkit and runtime for building highly concurrent, distributed, and fault tolerant event-driven applications on .NET & Mono.
  • OpenCQRS - OpenCQRS is a .NET framework for DDD, CQRS, and Event Sourcing. It can be used as a simple mediator or as a full Event Sourcing solution with Cosmos DB or Entity Framework Core as storage. It has built-in support for Service Bus, RabbitMQ, Redis Cache, Memory Cache, and FluentValidation among other features.
  • Stratara - CQRS and Event Sourcing framework for .NET with tamper-evident streams and tenant-aware encryption, plus integrated mediator, outbox, sagas and projections.
  • Deveel Events - - Provides an easy-to-use framework for the publication and subscription of events in .NET applications, supporting multiple messaging channels (eg. RabbitMQ, Azure Service Bus, etc.) and a variety of serialization formats (eg. JSON, XML, etc.).

PHP

  • Broadway - Broadway is a (PHP) project providing infrastructure and testing helpers for creating CQRS and event sourced applications.
  • PHP Glossary - Apply a Term Analysis to extract domain terms vs out-of-scope terms in a DDD manner.

Python

  • dry-python - A set of libraries for pluggable business logic components.

Ruby

  • Rails Event Store - Rails Event Store (RES) is a library for publishing, consuming, storing and retrieving events. It's your best companion for going with an event-driven architecture for your Rails application.
  • Eventide - Event Sourcing and Microservices Stack for Ruby. A set of libraries for writing event driven, autonomous services.

Sample Projects

GO

  • BDD in GO - Sample app demonstrating the use of Cucumber + GO for a BDD testing approach. Blog post can be found here.
  • Citerus DDD Sample App GO Port - This is an attempt to port the DDD Sample App to idiomatic Go. It can be run in a dockerized mode for previewing the application.
  • DDD by Refactoring - Complete serverless application to show how to apply DDD, Clean Architecture, and CQRS by practical refactoring of a Go project. A full blog series about it can be found at https://threedots.tech/.
  • DDD Food App - Sample DDD application implementing the 4 layers (Domain, Infrastructure, Application and Interface) and considering two domain patterns. There's a blog article written for it here.
  • DDD Sample in GO - Just another sample application implementing the four layers of DDD.
  • Evolutive CRUD API - API implementation with full CRUD using a SOLID, Hexagonal Architecture. There is a series of blog post written for it at https://blog.friendsofgo.tech/.
  • Simple Hexagonal Architecture PoC API - PoC for a patients API using the hexagonal architecture pattern.
  • Azure DDD boilerplate - A boilerplate project for DDD in Azure using a custom handler and Cosmos DB for event sourcing
  • Go DDD Template - Production-grade DDD and CQRS template with value objects, race-safe idempotent commands, domain events with a transactional outbox, and a tutorial series teaching DDD from zero.

JavaScript / TypeScript

  • wolkenkit Sample Applications - A collection of DDD sample applications, such as TodoMVC, a geocaching app, collaborative boards etc.
  • Over-engineered ToDo app - Complete working example of using Domain Driven Design (DDD), Hexagonal Architecture, CQRS, Event Sourcing (ES), Event Driven Architecture (EDA), Behaviour Driven Development (BDD) using TypeScript and NestJS generated using the Bitloops Language (BL).
  • txob - Transactional outbox event processor with Postgres and MongoDB native plugins — at-least-once delivery, near-realtime wakeup signals, graceful shutdown, and horizontal scalability.

JVM languages

  • Akka CQRS ES Demo - 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 - DDD-CQRS sample v2.0 project that helps you with starting out advanced domain modeling using Spring, JPA and testing.
  • DDD Workshop - Project Manager - "Do It Yourself" DDD workshop and a sample DDD application at the same time. Based on a project managing domain.
  • Event Sourcing Example - 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 - A pragmatic application of Event Sourcing and CQRS in Java with good references for common related problems, e.g. event ordering and idempotency.
  • IDDD Samples - These are the sample Bounded Contexts from the book "Implementing Domain-Driven Design" by Vaughn Vernon.
  • Java CQRS Intro - 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).
  • DDDSample - Sample DDD project using Spring Boot (originally hosted in http://dddsample.sourceforge.net/)
  • Eclipse CargoTracker - 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 - Simple DDD + Clean Architecture using Micronaut.
  • Casino Engine - Production iGaming/casino engine in Kotlin/Ktor demonstrating Hexagonal Architecture with DDD and CQRS. Aggregates raise domain events, repository ports live in the domain layer, command and query handlers are wired through a Koin-discovered registry, and domain events are published to RabbitMQ after the write transaction commits. Apache 2.0.

.NET (C#/F#)

  • EISK - .NET CLI and VS Templates with simple use cases to build scalable applications on top of .net core with architectural best practices (DDD, onion architecture etc).
  • 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.
  • Better code with DDD building blocks - 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 - 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 - An event based Micro ERP.
  • ContosoUniversityCore - ContosoUniversity on ASP.NET Core with Full .NET Framework.
  • DDD-starter-dotnet - Sample implementation and comparison of various approaches to building DDD applications. Useful as a baseline to quickly start a DDD .net project.
  • DDDInventoryItemFSharp - 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 - 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 - Email marketing ASP.NET Core MVC and ASP.NET MVC demo app demonstrating CoreDdd usage
  • Equinox Project - Full ASP.NET Core 3.1 application with Clean Architecture, DDD, CQRS and Event Sourcing concepts
  • eShopOnWeb - Full ASP.NET Core 3.1 reference application from Microsoft showing monolithic deployment architecture
  • 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 - DDD, CQRS, and Event-Sourcing example and contains following technology stack: EventFlow, EventStore, RabbitMQ, MongoDB, PostgreSQL, Docker
  • Fohjin - Example project that accompanies Mark Nijhof's CQRS book.
  • FsUno - Event sourcing implementation sample in F#.
  • IDDD Samples in .NET - These are the sample Bounded Contexts for C#.NET from the book "Implementing Domain-Driven Design" by Vaughn Vernon.
  • LexiQuest-Modular-DDD - Modular application built with Clean Architecture and DDD principles which is ready to quickly get splitted into microserves.
  • Modular Monolith - Full Modular Monolith .NET application with Domain-Driven Design approach.
  • Modular.StarterTemplate - Starter template for a modular application in Clean Architecture DDD style with synchronous interaction between modules within single transaction. Perfect for ERP applications.
  • NLayerAppV3 - (.Net Core Preview 2) - a N-Layered Architecture Sample Project.
  • Photostock CQRS-DDD Example
  • Reactive Trader Cloud - Reactive Trader Cloud by Adaptive Consulting.
  • Sample .NET Core CQRS REST API - .NET Core REST API CQRS implementation with raw SQL and DDD using Clean Architecture.
  • Scritchy - 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 - Task management system based on .NET Core with DDD, CQRS and Event Sourcing Concepts.
  • AppointMe - A production-grade SaaS template on .NET 10, React, modular monolith, vertical slices, multitenancy, CQRS, DDD, event-driven architecture, durable messaging (outbox).
  • OpenMind.DDD.Patterns - A comprehensive C# demo of DDD tactical patterns (Entities, Value Objects, Aggregates, Domain Events) and strategic design (Bounded Contexts, Context Mapping) using an order management domain, with CQRS, Event-Driven Architecture, and MongoDB.

PHP

  • DDD CQRS Todo Sample - DDD CQRS ADR hexagonal architecture implementation built with PHP 7 and Symfony 5.
  • DDD Modulith - A DDD Onion Architecture implementation with Symfony 7 as modulith.
  • DDD Wish List - A sample application in PHP built with Symfony 3 and Vue.js.
  • Eric Evans DDD Cargo Sample - PHP 7 Version of the cargo sample used in Eric Evans DDD book
  • Shop Cart in PHP - Sample project that demonstrates how simple shop cart can look like. Domain objects,Doctrine integration.,TDD,layers,unit testing

Tools

  • DDD Toolbox - Open-source collection of modern web-based tools including Domain Storytelling and Event Storming (Source Code).

Training Courses