One, cheap koa
Execute the following command after installing node.js
Install koa globally
cnpm install koa-generator -g
The koa2 -h command lists the help files of the koa command
Second, create a koa project
koa2 peojectname
The generated project directory:
Execute npm start and visit localhost:3000