KoaHub.js - Node.js web rapid development framework based on the Koa.js platform
The structure is similar to the thinkphp structure
Installation<br>
<br>
$ npm install koahub<br>
Use with koa<br>
<br>
var app = require('koa')();<br>
var router = require('koa-router')();<br>
<br>
require('koahub');<br>
<br>
for (var key in koahub.controller){<br>
Router.use(key, koahub.controller[key]);<br>
}<br>
<br>
// sample as <br>
Router.use('/home', auth('home').skip({path: [/public/]}));<br>
app.use(router.routes());<br>
<br>
// sample as <br>
console.log(koahub.model);<br>
console.log(koahub.controller);<br>
console.log(koahub.util);<br>
<br>
App.listen(3000);
Official website: http://js.koahub.com