Skip to content

chiehwen/koa-React-CRUD-demo

 
 

Repository files navigation

koa-React-CRUD-demo

Build Status

简单小微博,koa + React 实现CRUD操作的单页面应用。

PS:当看到了形如:

exports.deleteOneWeibo = function *() {

  var nRemoved = yield weiboService.deleteOneById(this.params.id);

  yield this.body = {result : (nRemoved !== 0)}
};
//or
exports.getAll = function *() {

  return yield Weibo.find({}).exec();
};

的代码,妈妈再也不用担心我的回调了。。

About

koa + react CRUD demo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 83.3%
  • HTML 14.4%
  • CSS 2.3%