flclover
v0.7.13
Published
Build better enterprise frameworks and apps with Node.js & Koa2
Maintainers
Readme
Flclover
Four leaf clover🍀
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 iRun:
$ npm run dev
$ open localhost:7001Running tests
$ npm testCommunity
License
MIT
