restish

0.1.1 • Public • Published

Restish

Restish makes a server to send mock JSON objects to requests when building out the front end of your web service.

It's more of a prototyping tool then something to be used in production.

Usage

var restish = require('restish');

options = {
  port : 8000,
  routes: {
    test: { abc: '123'}
  }
}

restish(options);

This will open a server on port 8000, and only respond to a call to /test with the { abc: '123'} object.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.1
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.1
    1
  • 0.1.0
    0
  • 0.0.0
    0

Package Sidebar

Install

npm i restish

Weekly Downloads

1

Version

0.1.1

License

GPL

Last publish

Collaborators

  • eighteyes