1. 程式人生 > >koa的教程

koa的教程

中文 red note ans god ssi rom you article

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

koa的教程