Skip to content

xtsong/egg-project

Repository files navigation

project

egg.js分享项目

QuickStart

see egg docs for more detail.

Development

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

Deploy

$ npm start
$ npm stop

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.

单元测试

项目整体测试

  • Use npm test to run unit test.

项目单个模块测试

  • Use npm test-local to run unit test.

例如:npm test-local test/app/controller/home.test.js

Releases

No releases published

Packages

No packages published