egg-api

Egg RestFul API plugin

Usage no npm install needed!

<script type="module">
  import eggApi from 'https://cdn.skypack.dev/egg-api';
</script>

README

egg-api

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

DO NOT USE (Still in development)

Install

$ npm i egg-api --save

Usage

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

Configuration

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

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

Example

Questions & Suggestions

Please open an issue here.

License

MIT