Cuty project started on 17/3/31 , It is a Node.js framework driven by MVC and Middlewares.
In Cuty's development , I adopted a lot of ideas from koa and express.
Basically, Cuty combines the advantage of MVC and middleware-flow to shape Node.js application.
cuty is still under development , not recommended for product usage
-
Cuty helps you to build MVC and middleware workflow Node apps.
-
LifeCycle hook is integrated in Cuty to facilitate app's flexibility.
-
Cuty is Completely compatible with Koa's 3rd party middlewares,which means that koa apps can easily migrate to Cuty
npm install cuty
const Cuty = require('cuty');
const app = new Cuty();
//middleware
app.use([(ctx,next) => {
ctx.body = 'Hello Koa';
next()
}]);
http.createServer(app.callback()).listen(3000);
you can reference the this doc to have an overview comparion.
This repo will continue Cuty's development.
slashhuang