2.0.3 • Published 4 years ago

wired-egg v2.0.3

Weekly downloads
4
License
MIT
Repository
github
Last release
4 years ago

wired-egg

wired egg framework for from iris-egg 升级sequlize等版本

QuickStart

$ npm install wired-egg

change app's dependencies:

// {app_root}/index.js
require('wired-egg').startCluster({
  baseDir: __dirname,
  // port: 7001, // default to 7001
});

Environment config

IRIS_EGG_GRAPHQL: open graphql
IRIS_EGG_APP: open app mode (authenticate by jwt token)
IRIS_EGG_GATEWAY: open gateway mode (authenticate by bearer token)

Questions & Suggestions

Please open an issue here.