/egg-example

egg exercise

Primary LanguageJavaScript

example

QuickStart

see egg docs for more detail.

Development

$ npm i
$ npm run dev
$ open http://localhost:7001/

Deploy

$ npm start
$ npm stop
$ 部署的时候需要在utils/路径下config,其涉及数据库相关配置,没有上传上去

npm scripts

  • Use npm run lint to check code style.
  • Use npm test to run unit test.
  • Use npm run autod to auto detect dependencies upgrade, see autod for more detail.