The EventStore class serves as an interface for reading and writing Aggregate commits and snapshots.
AwsEventStore
AwsEventStore is powered by AWS DynamoDB, and currently the only EventStore implementation.
See API docs for a complete list of configuration options.
Minimal example
import {AwsEventStore} from '@ddes/aws-store' |
Setup
Before the EventStore can be used, you need to set it up.
await mainStore.setup() |
Using local DynamoDB
Running docker container
# Starting container |
Configuration
import {AwsEventStore} from '@ddes/aws-store' |