see egg docs for more detail.
$ npm i
$ npm run dev
$ open http://localhost:7001/
$ npm start
$ npm stop
- 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.
/********* 使用 route 方式 分发路由 ***************
********** require('./route/home')(app) **********
********** require('./route/user')(app) **********
**************************************************/
/***************** 调用层级 *********************
🚀🚀🚀🚀🚀🚀🚀 [ 1:router.js ] 🚀🚀🚀🚀🚀🚀🚀
🚀🚀🚀🚀🚀🚀🚀 [ 2:controller] 🚀🚀🚀🚀🚀🚀🚀
🚀🚀🚀🚀🚀🚀🚀 [ 3: service ] 🚀🚀🚀🚀🚀🚀🚀
🚀🚀🚀🚀🚀🚀🚀 [ 4: model ] 🚀🚀🚀🚀🚀🚀🚀
*****************/