koa2 通过sequlieze 连接 mysql 进行orm操作数据库(避免sql注入的危险,因为不在写sql语句了,嘻嘻
☺️ )
$ npm install 或者 cnpm install
$ npm install 或者 cnpm install
$ npm run start
$ git clone https://github.com/yijieyan/koa2-mysql.git
$ cd koa2-mysql
$ npm install
$ node dbInit.js
启动文件看package.json
MIT