Skip to content
CAI
Produce a survey ↗Verify a survey

richardchanjr90-cpu/ddd-by-example

This system is a loyalty program management platform built on Azure Functions, designed to handle the full lifecycle of venues, products, orders, and user interactions. It implements a CQRS architecture using MediatR to process commands for creating, updating, and archiving entities like loyalty programs, product groups, and orders. The system manages complex domain events to trigger notifications for order status changes, user interactions, and worker invites, while also handling purchase redemption and user profile management.

60.2

Adequate · 3 August 2026

19k

lines of production code

C#

primary language

1

bus factor · 1 authors in all

3

measurements over time

CAI band scale
CAI trend line

How it got here

2025 · Loyalty program domain implementation

This period focused on building the core domain and infrastructure for a new loyalty program feature, introducing entities, commands, and queries for managing venues, products, and purchases. The work established the application layer with MediatR handlers, AutoMapper mappings, and database access patterns, while also setting up the Azure Functions infrastructure and test coverage for the new services.

46 changes

2026 · Loyalty domain implementation

This period focused on implementing the core loyalty domain, introducing comprehensive CRUD operations, queries, and commands for entities such as orders, products, venues, and user profiles. The work established the internal event-driven architecture by adding domain events, outbox-based persistence, and notification handlers to ensure reliable state management and integration.

42 changes

CAI lens gauges

Survey your own repository

richardchanjr90-cpu/ddd-by-example was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point the surveyor at a repository you know and see whether you agree with it.

Survey a repository

About this page

  • The description of this project is derived from its own commit history, not from its README.
  • The score is its highest published measurement, taken on 3 August 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit 495458f3b4 — the exact code this score is about.
  • Scored under rubric rubric-2026.08.18. Score the same commit under that rubric and you get the same number.
CAI link cards