1.安装依赖

  1. yarn add koa koa-router koa2-cors koa-body koa-static
  2. yarn add mongoose
  3. yarn add require-directory