Skip to content

NestJS module for eventsourcing development with eventstore database

License

Notifications You must be signed in to change notification settings

aulasoftwarelibre/nestjs-eventstore

Repository files navigation

EventSource module for NestJS

Contributors Forks Stargazers Issues MIT License


Aula Software Libre de la UCO

EventSource module for NestJS

NestJS module for eventsourcing development with eventstore database

About The Project

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.

Getting Started

WIP

See example

Prerequisites

You require to have a nestjs project with this modules already installed and loaded:

Installation

  • npm

      npm install @aulasoftwarelibre/nestjs-eventstore
    
  • pnpm

      npm add @aulasoftwarelibre/nestjs-eventstore
    
  • yarn

      yarn add @aulasoftwarelibre/nestjs-eventstore
    

Usage

Loading the module

Contributing

License

Distributed under the EUPL-1.2 License. See LICENSE for more information.

Running the example

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:

Acknowledgements

This module was created following next articles: