egg-connector-rest
使用 json 方式配置 model 的开放接口, 支持 mongoose 、 seq
Install
npm i egg-connector-rest --save
feature
- git-flow
- restful api
- swagger ui
- validate
- access control, 参考
- mysql
- mongoose
Usage
// {app_root}/config/plugin.jsexportsconnectorRest = enable: true package: 'egg-connector-rest';
Configuration
// {app_root}/config/config.default.jsexportsconnectorRest = ;
see config/config.default.js for more detail.
Example
Questions & Suggestions
Please open an issue here.