Skip to content

Latest commit

 

History

History
42 lines (23 loc) · 669 Bytes

README.md

File metadata and controls

42 lines (23 loc) · 669 Bytes

koa-egg-demo

My demo

根据项目config/config.default.js里的mysql配置好mysql,再建一个user表,表字段[ username, password ]

就可以用根目录下的index.html文件请求接口了

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.