bd

An koa-based Node.js web framework

bd

An koa-based Node.js web framework

$ npm install bd --save

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);
 

License

MIT