Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
45 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cuty

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.

Notice

cuty is still under development , not recommended for product usage

Cuty's features

  1. Cuty helps you to build MVC and middleware workflow Node apps.

  2. LifeCycle hook is integrated in Cuty to facilitate app's flexibility.

  3. Cuty is Completely compatible with Koa's 3rd party middlewares,which means that koa apps can easily migrate to Cuty

install

	npm install cuty

Usage

    const Cuty = require('cuty');
    const app = new Cuty();
    //middleware
    app.use([(ctx,next) => {
      ctx.body = 'Hello Koa';
      next()
    }]);
    http.createServer(app.callback()).listen(3000);

Comparison with express and Koa

you can reference the this doc to have an overview comparion.

Comparison with Other Frameworks

changelog

This repo will continue Cuty's development.

copyright

slashhuang

About

A MVC Node.js framework inspired by koa and spring

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.