An event-sourcing toolkit for Node and MongoDB
npm install fact-streamsfact-streams is a TypeScript library that makes it very easy to build applications using the event sourcing paradigm with Node.js and MongoDB. It provides an alternative to mongoose and the CRUD paradigm.
- Quick introduction to event sourcing and CQRS. A 5 minute introduction to event-sourcing and CQRS.
- Basic concepts. A high level description of core fact-streams concepts and key technical decisions then shaped this library.
- Your first model. A hello-world example model for fact-streams.
With npm:
```
npm i fact-streams
With pnpm:
``
pnpm i fact-streams
With yarn:
```
yarn add fact-streams
For usage, check the "hello world" example in the documentation.