@lvchengbin/yolk

A lightweight MVC framework bases on Koajs in order to support multiple modules.


Keywords
koa, mvc, framework, modules
License
MIT
Install
npm install @lvchengbin/yolk@0.0.25

Documentation

Yolk

A simple framework uses to maintain services into separated sub modules based on Koajs. It is not exactly flexible, but it matches the requirements when you want to make your services more portable and maintainable.

Start

To install the package with npm.

$ npm i @lvchengbin/yolk --save

Then, you can use it in your code:

const Yolk = require( '@lvchengbin/yolk' );

const app = new Yolk( { root : __dirname } );

app.listen( 3000 );

Usage

config

router

module

controller

service