/egg-boot

Primary LanguageJavaScript

egg-boot

egg boot

QuickStart

see egg docs for more detail.

Development

npm i
npm run dev
open http://localhost:7001/

Deploy

npm start
npm stop

npm scripts

  • Use npm run lint to check code style.
  • Use npm test to run unit test.

ENV

  • EGG_SERVER_ENV is mainly for config.[xxx].js and other features like logs
  • dotenv with env.[xxx] is for process.env, mainly for prisma
  • forget NODE_ENV for eggjs