Architecture

LedgerTM is domain-driven and event-sourced, a modular monolith built around features and configured per tenant. It brings years of production experience together with current tooling.

Core model

One solid core and the ring of configuration around it.

Components

The modules and the narrow seam between them, with the map generated from the solution rather than left as one big mess.

Event sourcing

Events are the system of record and state is derived from them, with commands going in and queries coming out.

Dated properties

Every property of every record is a date series, rates included, and this is where a greenfield design oversimplifies.

Configuration

What is configuration and what is code.

Multi-tenant

One deployment, many tenants, isolated by design.

The model

Every aggregate, its verbs and its events, generated from the code.

Platform

.NET, PostgreSQL and React, chosen boring on purpose after Silverlight and Blazor both burnt us.