egg-connector-rest
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

egg-connector-rest

NPM version build status Test coverage David deps Known Vulnerabilities npm download

使用 json 方式配置 model 的开放接口, 支持 mongoose 、 seq

Install

npm i egg-connector-rest --save

feature

  1. git-flow
  2. restful api
  3. swagger ui
  4. validate
  5. access control, 参考
  6. mysql
  7. mongoose

Usage

// {app_root}/config/plugin.js
exports.connectorRest = {
  enable: true,
  package: 'egg-connector-rest',
};

Configuration

// {app_root}/config/config.default.js
exports.connectorRest = {
};

see config/config.default.js for more detail.

Example

Questions & Suggestions

Please open an issue here.

License

MIT

Package Sidebar

Install

npm i egg-connector-rest

Weekly Downloads

6

Version

1.0.3

License

MIT

Unpacked Size

37 kB

Total Files

18

Last publish

Collaborators

  • theone1006