egg
Examples forUsage
Find the example, then run command below. For example, run the hackernews-datahub example:
$ cd hackernews-datahub
$ npm install
$ npm run dev
Recommend to use Node >= 8
List of examples
- cnode-api
- cookie-session
- cookie
- custom-env
- download
- framework
- hackernews-async-ts
- hackernews
- hackernews-datahub
- helloworld
- httpclient
- ipc
- middleware
- multipart
- passport
- progressive
- redefine-controller
- schedule
- sequelize-example
- static
- unittest
- view-nunjucks
Development
Run test
$ npm test
You can use --verbose
to show more infomation
$ npm test -- --verbose
Generate dependencies
$ npm run autod
Show list of examples
$ npm run list