Skip to content

Latest commit

 

History

History
33 lines (20 loc) · 554 Bytes

README.md

File metadata and controls

33 lines (20 loc) · 554 Bytes

VIPShare-REST-Server

QuickStart

see egg docs for more detail.

Development

$ npm install
$ npm run dev
$ open http://localhost:7001/news

Deploy

Use EGG_SERVER_ENV=prod to enable prod mode

$ EGG_SERVER_ENV=prod npm start

npm scripts

  • 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.