stubs-middleware

0.0.5 • Public • Published

stubs-middleware

npm i stubs-middleware

    if (process.env.NODE_ENV === 'development') {
        // put it before bodyparser
        require('stubs-middleware')(app, require('../stubs/config.json'))
    }
// config.json
{
  "port": 5000,
  "image": "brucejcw/stubs:1.0.1",
  "proxy": {
    "/bff": "/"
  }
}


Readme

Keywords

none

Package Sidebar

Install

npm i stubs-middleware

Weekly Downloads

0

Version

0.0.5

License

ISC

Unpacked Size

8.56 kB

Total Files

5

Last publish

Collaborators

  • brucejcw