node-cqrs-toolkit

cqrs toolkit lib

Usage no npm install needed!

<script type="module">
  import nodeCqrsToolkit from 'https://cdn.skypack.dev/node-cqrs-toolkit';
</script>

README

node-cqrs (Under working)

a cqrs toolkit lib with nodejs.

 Event store is only adding events.
 View store is more like normal CRUD database.

Inspired by the following libraries/examples:

Installation

npm i

npm test

Examples

if you want see more detail information, please set DEBUG=cqrs:*:* ;

simple api: node examples/simple/index

couchbase api: node couchbase/simple/index

RoadMap

  • implemented mostly methods in lib: eventhorizon
  • couchbase storage support
  • simplify with lib: SimpleCQRS
  • change to use lib: node-eventStore
  • example with restful api
  • snapshot support
  • use nodejs Event Emitter2