tjcu-site 的后端部分
全面使用es6 koa2
bin/www
创建了服务 监听了error事件和开始监听事件routes/
挂载路由model/
数据模型action/
行为处理middleware
中间件config/
配置文件plugins/
扩展文件
启动项目
npm install
npm start
or 需要设置端口p=1234 npm start
orPORT=1234 npm start
and 调试使用nodemon
:nodemon --exec npm start
检查代码错误 gulp lint
ornpm run lint