| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
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.
$ npm install
$ npm run dev
$ open http://localhost:7001/Use EGG_SERVER_ENV=prod to enable prod mode
$ EGG_SERVER_ENV=prod npm startPlease ensure your node version is >=8.0 for Egg2.x.
| Back | FazBrowse Home | New Git URL |