Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    bdpublic

    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

    install

    npm i bd

    Downloadsweekly downloads

    42

    version

    0.4.0

    license

    MIT

    repository

    githubgithub

    last publish

    collaborators

    • avatar
    • avatar
    • avatar