event-sourcing
ocoda/event-sourcing · Public GitHub repository
An event-sourcing library for NestJS
Open the project to try its demo, view the repository, or save it to your collection. Repository and demo actions use RepoShelf’s sign-in flow.

About this project
Author-written excerpt from the project README.
@ocoda/event-sourcing is a library for NestJS with the building blocks for Domain-Driven Design (DDD), CQRS and Event Sourcing:
4.0 is released: NestJS 12, ES modules only, Node.js 22.12 or later, global positions and readAll(), typed buses and awaited publishers. Upgrading from 3.x? Follow the migration guide. 3.x is on the latest-3 tag and receives security and critical fixes until at least 2027-03-31.
- Aggregates and value objects: aggregates change their state through events, and ids keep their class.
- Typed command and query buses: Command and Query give execute() its result type.
- An event store with optimistic concurrency, correlation and causation ids, headers, and a global position per pool that readAll() reads in order, for projections and consumers that resume from a checkpoint.
- Snapshots that a snapshot repository takes at an interval, so long streams load fast.
- Event publishers and subscribers: publishers are awaited, in order per stream, and every delivery failure is reported on an observable.
Requirements and intended audience
@ocoda/event-sourcing is a library for NestJS with the building blocks for Domain-Driven Design (DDD), CQRS and Event Sourcing:
Not recorded: account, external api key, paid service, self-hosting. Missing information does not mean there are no requirements.
Statements extracted from the author’s documentation · Checked 2026-10-20. Source: https://github.com/ocoda/event-sourcing/blob/master/README.md
Recorded maintenance information
Last recorded source update: 2026-11-03. Saved release: @ocoda/event-sourcing@4.0.0 · 2026-09-30. These dates do not guarantee ongoing maintenance.
- Technologies
- Node.js
- Licence
- MIT. Generally permits modification and commercial use, subject to the licence’s notices and conditions.
- Demo check
- A public page loaded on 2026-11-06. This does not test every feature.
Browse related categories
More projects to explore
iptv
iptv-org/iptv
Collection of publicly available IPTV channels from all over the world
HowToLiveBetter
eternity4719/HowToLiveBetter
高性价比人生指南: 长寿防病、急救、省钱理财、法律红线、失业与工伤、医保社保、恋爱婚育、怀孕育儿、创业与做平台合规、出国与技能。每条写明成本、收益、证据等级和原始出处,只引期刊论文与官方文件。
OpenManus
FoundationAgents/OpenManus
No fortress, purely open ground. OpenManus is Coming.
JavaScript30
wesbos/JavaScript30
30 Day Vanilla JS Challenge