egg club
see egg docs for more detail.
$ npm install
$ npm run dev
$ open http://localhost:7001/news
Use EGG_SERVER_ENV=prod
to enable prod mode
$ EGG_SERVER_ENV=prod npm start
npm run lint
to check code style.npm test
to run unit test.npm run autod
to auto detect dependencies upgrade, see autod for more detail.