bd

0.4.1 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i bd

Weekly Downloads

42

Version

0.4.1

License

MIT

Unpacked Size

4.31 kB

Total Files

4

Last publish

Collaborators

  • danlanxiaohei
  • mdemo
  • nieweidong