1.8.6 • Published 5 years ago
iris-egg v1.8.6
iris-egg
iriscv egg framework
QuickStart
$ npm install iris-egg
change app's dependencies:
// {app_root}/index.js
require('iris-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.