Cubitt Graph-CQRS

CQRS interface to cubitt-graph

GitHub license
npm version
Build Status
Test Coverage

About

This package provides a CQRS interface to cubitt-graph, allowing for manipulation of the graph by Commands and Events

Features

  • CQRS Graph interface
  • Transaction/Rollback/Commit support
  • Auto-rollback on transaction failure

Usage

Install the package and use it in your code.

npm install cubitt-graph-cqrs
import {CQRSGraph} from "cubitt-cqrs-graph";

let myCQRSGraph = new CQRSGraph();

Documentation

For developers

To get started:

npm run dev

To run the unit tests:

npm run test

To generate a test coverage report:

npm run test-coverage

To generate documentation:

npm run typedoc

License

MIT

Changelog

Changelog