nest-eventsource-kit
v1.2.0
Published
Event Sourcing and CQRS toolkit for NestJS with support for event store, command/query separation, and saga patterns
Maintainers
Readme
nest-eventsource-kit
Event Sourcing and CQRS toolkit for NestJS applications.
Features
- Event Sourcing - Store state as sequence of events
- CQRS - Separate read and write models
- Saga Pattern - Coordinate complex transactions
- Event Store - Persist and replay events
- Domain-Driven Design - DDD building blocks
Installation
npm install nest-eventsource-kitQuick Start
import { EventSourcingModule } from 'nest-eventsource-kit';
@Module({
imports: [
EventSourcingModule.forRoot({
eventStore: InMemoryEventStore,
}),
],
})
export class AppModule {}Author
Alireza Aminzadeh - [email protected]
License
MIT
