mumba-microservice-sourced
v0.1.0
Published
A Mumba Microservice module that provides Event Sourcing (via mateodelnorte/sourced and mateodelnorte/sourced-repo-mongo) support.
Downloads
3
Readme
Mumba Microservice Sourced
A Mumba Microservice module that provides Event Sourcing (via mateodelnorte/sourced and mateodelnorte/sourced-repo-mongo) support.
Configuration
This module requires that a Config
object has been registered as config
.
Property | Type | Description
--- | :---: | ---
mongo
| object
| A dictionary of options required for RabbitMQ.
mongo:url
| string
| The URL of the MongoDB server (for example mongodb://mongo:27017/local
).
DI Container
This module adds the following container artifacts if they don't already exist.
Name | Type | Description
--- | :---: | ---
mongo
| object
| An instance of a Node.js mongo
driver.
Installation
$ npm install --save mumba-microservice-sourced
$ typings install --save dicontainer=npm:mumba-typedef-dicontainer
$ typings install --save sourced=npm:mumba-typedef-sourced
Examples
TODO
Tests
To run the test suite, first install the dependencies, then run npm test
:
$ npm run docker:up
$ npm install
$ npm test
$ npm docker:down
People
The original author of Mumba Microservice Service Bus is Andrew Eddie.
License
© 2016 Mumba Pty Ltd. All rights reserved.