0.1.0 • Published 9 years ago
mumba-microservice-sourced v0.1.0
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-sourcedExamples
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:downPeople
The original author of Mumba Microservice Service Bus is Andrew Eddie.
License
© 2016 Mumba Pty Ltd. All rights reserved.
0.1.0
9 years ago