egg-example-hackernews
Hacker News showcase for egg
QuickStart
Development
$ npm install
$ npm run dev
$ open http://localhost:7001/
Deploy
Use EGG_SERVER_ENV=prod
to enable prod mode
$ EGG_SERVER_ENV=prod npm start
npm scripts
- Use
npm run autod
to auto detect dependencies upgrade - Use
npm run lint
to check code style - Use
npm test
to run unit test