flclover

0.7.13 • Public • Published

Flclover

Four leaf clover🍀

NPM version npm download node version Test coverage

Build better enterprise frameworks and apps with Node.js & Koa2

Hello, Flclover!

  • app/router.js
module.exports = (router, controller) => {
  router.get('/', controller.home.index);
};
  • app/controller/home.js
exports.index = async (ctx) => {
  ctx.body = 'Hello, Flclover!';
};

target

  • Coverage 100%
  • Simple, stable and extensible enterprise Node Web framework.

Installation

  • macOS,Linux,Windows
  • Koa requires node v7.6.0 or higher for ES2015 and async function support.

Quick start:

$ npm i flclover-init -g
$ flclover-init flclover-example --type=simple
cd flclover-example
$ npm i

Run:

$ npm run dev
$ open localhost:7001

Running tests

$ npm test

Community

License

MIT

Package Sidebar

Install

npm i flclover

Weekly Downloads

12

Version

0.7.13

License

MIT

Last publish

Collaborators

  • wxnet