/midway-mongoose-demo

🔧This is a example of Midway with Mongoose

Primary LanguageTypeScript

midway-mongoose-demo

midway & mongoose组合使用demo 稍微写了个可复用的utils 放心食用(midway作者提供的example太坑啦T_T

Update

QuickStart

see midway 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.