koa的教程

https://github.com/bmcmahen/koa-mongo-session
http://www.fkwebs.com/2333.html
https://segmentfault.com/q/1010000008080416
koa中使用mongodb持久化session
http://blog.csdn.net/sinat_36469292/article/details/53064472
Session Store
koa-redis to store your session data with redis.
koa-mysql-session to store your session data with MySQL.
koa-generic-session-mongo to store your session data with MongoDB.
koa-pg-session to store your session data with PostgreSQL.
koa-generic-session-rethinkdb to store your session data with ReThinkDB.
koa-sqlite3-session to store your session data with SQLite3.
koa-generic-session-sequelize to store your session data with the Sequelize ORM.
koa-generic-session-knex to store your session data with the Knex query builder.

this.redirect('/');

http://www.tuicool.com/articles/Y7NnquR
如何优雅的在 koa 中处理错误

https://cnodejs.org/topic/5787f6a7ee5f048d54f9099d
新发现:改动1行代码 提升 Koa 性能接近一倍

koa中用mongoose
mongoose.Promise = require('bluebird');

koa2创建项目:
https://segmentfault.com/a/1190000005742129
http://blog.csdn.net/ansu2009/article/details/53884287

https://github.com/qq83387856/node-koa
可以看我的项目
或者你可以使用npm install -g koa-generator
然后 koa xxx 生成一个项目 里面有完整的骨架
具体还有不懂的再问

http://www.jianshu.com/p/6b816c609669
koa2从起步到填坑

http://eddywashere.com/blog/switching-out-callbacks-with-promises-in-mongoose/
koa中使用mongoose,Switching out callbacks with promises in Mongoose

koa2.0路由:
http://www.gowhich.com/blog/705
http://cnodejs.org/topic/578a19866d3f2b2014113edd

koa操作mysql:
http://www.jb51.net/article/86524.htm
https://github.com/zhangshiqiu/koa-msyql

koa教程
http://book.apebook.org/minghe/koa-action/hello-koa/install.html
koa中文文档

http://www.nodeclass.com/api/cnkoa.html 中文教程

http://koa.bootcss.com/#response 向下拉滚动条
koa2教程
https://chenshenhai.github.io/koa2-note/note/start/quick.html

posted @ 2018-02-02 11:55  开始战斗  阅读(554)  评论(0编辑  收藏  举报