$ npm install(recommend: yarn install) $ npm run devNode.js >= 7.6.0 required(support native async & await).
- ✔︎ Full APIs Wrapped
- ✔︎ RESTful Style
- ✔︎ 30+ Case, 100% Unit Test(
BDD)
- [mocha], [thunk-mocha], [power-assert], [istanbul] is build-in to [egg-bin], so you can just use it.
- [power-assert] is very powerful.
- see egg unit test docs for more detail.
- Use
npm startto run server - Use
npm run devto dev - Use
npm testto run unit test.
- use
router prefix - use
middleware in router - more & more
- develop
webappusing this apis
- [V2EX] (https://www.v2ex.com/)
- [egg] (https://github.com/eggjs/egg)
- [egg-bin] (https://github.com/eggjs/egg-bin)
- [mocha] (http://mochajs.org)
- [thunk-mocha] (https://npmjs.com/thunk-mocha)
- [power-assert] (https://github.com/power-assert-js/power-assert)
- [istanbul] (https://github.com/gotwarlost/istanbul)