now is beginning
see egg docs for more detail. $ mkdir egg-example && cd egg-example $ npm init egg --type=simple
$ npm i
$ npm run dev
$ open http://localhost:7001/
$ npm install egg-mongoose -S
$ npm install shortid -S
$ npm install egg-validate -S
$ npm install egg-cors -S
$ npm install egg-jwt -S
$ 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.