Skip to content

Latest commit

 

History

History
68 lines (51 loc) · 1.21 KB

README.md

File metadata and controls

68 lines (51 loc) · 1.21 KB

bd

An koa-based Node.js web framework

NPM version build status NPM downloads Node.js dependencies

Installation

$ npm install bd --save

Example

directory structure

apps
 |-app1
     |-public
         |-index.html
     |-routes
         |-route1.js
         |-route2.js
 |-app2
     |-public
         |-index.html
     |-routes
         |-route1.js
         |-route2.js
logs
  |-app1
     |-access-xx.log
     |-error-xxx.log
  |-app2
     |-access-xx.log
     |-error-xxx.log         
index.js        
var bd = require('bd');

var app = bd();

app.listen(3030);

Authors

License

MIT