egg-cqrs
Install
$ npm i egg-cqrs --save
Usage
// {app_root}/config/plugin.jsexportscqrs = enable: true package: 'egg-cqrs';
Configuration
// {app_root}/config/config.default.jsexportscqrs = ; exportsML = _list: 'User' // The model you would load _db: 'mock' // like mongoose,mysql...;
see config/config.default.js for more detail.
Example
- actor to use
ctx.actor.Social
- LoadData
await app.MemoryLoad(app);
Questions & Suggestions
Please open an issue here.