About this example
This example is a quickstart of Egg, it includes the basic and comprehensive usages of Egg such as Controller, Service and some simple configurations, moreover, it has the corresponding unit tests. you can follow this simple example and build your Egg application step by step.
How to run it locally
$ npm install $ npm run dev $ open http://localhost:7001/
EGG_SERVER_ENV=prod to enable prod mode
$ EGG_SERVER_ENV=prod npm start
npm run autodto auto detect dependencies upgrade
npm run lintto check code style
npm testto run unit test
Please ensure your node version is
>=8.0 for Egg2.x.