NestJS module for eventsourcing development with eventstore database
This module allows you to connect to a EventstoreDB to do event sourcing with nestjs.
This is a Work In Progress, not ready to use it in producction.
WIP
See example
You require to have a nestjs project with this modules already installed and loaded:
-
npm
npm install @aulasoftwarelibre/nestjs-eventstore
-
pnpm
npm add @aulasoftwarelibre/nestjs-eventstore
-
yarn
yarn add @aulasoftwarelibre/nestjs-eventstore
Distributed under the EUPL-1.2 License. See LICENSE
for more information.
To run the example you will build the library first:
pnpm run build
Then go to the example folder an run the containers:
cd examples/banking
docker compose up -d
And finally run the project:
pnpm run start:dev
You will access to the example application in the next urls:
This module was created following next articles:
- https://medium.com/@qasimsoomro/building-microservices-using-node-js-with-ddd-cqrs-and-event-sourcing-part-1-of-2-52e0dc3d81df
- https://medium.com/@qasimsoomro/building-microservices-using-node-js-with-ddd-cqrs-and-event-sourcing-part-2-of-2-9a5f6708e0f
- https://nordfjord.io/blog/event-sourcing-in-nestjs