eht

1.0.64 • Public • Published

eht

simple.

框架

中间件

插件

  • cors: 暴露 Authorization 头部

配置

  • 监听 3000 端口
  • 依赖本地服务还是 A1 基地的服务: config.developServiceHost = process.env.local ? 'localhost' : '192.168.1.76'
  • 生产环境下会将日志放置到 /var/log/app/${appInfo.name}

QuickStart

$ npm install
$ npm test

publish your framework to npm, then change app's dependencies:

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

Readme

Keywords

Package Sidebar

Install

npm i eht

Weekly Downloads

66

Version

1.0.64

License

MIT

Unpacked Size

285 kB

Total Files

32

Last publish

Collaborators

  • kayorl