zapier/mockbin

Name: mockbin

Owner: Zapier

Description: Mock, Test & Track HTTP Requests and Responses.

Forked from: Kong/mockbin

Created: 2016-09-24 18:23:46.0

Updated: 2016-09-24 18:23:46.0

Pushed: 2016-09-24 19:07:06.0

Homepage: http://mockbin.com

Size: 233

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Mockbin version License

Build Status Downloads Code Climate Coverage Status Dependencies Gitter

Mockbin is used internally and maintained by Mashape, who also maintain the open-source API Gateway Kong.

Table of contents
Features
Installation

install from source or through npm:

install mockbin
Heroku

Deploy

read more on Installation.

Docker

Docker

read more on Installation.

Requirements

other than the dependencies listed in package.json The following are required:

Configuration

you will need to tell mockbin where Redis is:

config set mockbin:redis redis://127.0.0.1:6379

By Default the server will run on port 8080, you can customize the port like so:

config set mockbin:port 8001

read more on Configuration.

Running

After installing the npm package you can now start the server like so:

start
Usage
age: mockbin [options]

tions:

-h, --help         output usage information
-V, --version      output the version number
-p, --port <port>  Port that the HTTP server will run on
-r, --redis [dsn]  Redis dsn
-q, --quiet        Disable console logging
Documentation

Read the full API documentation, please review the API Docs.

Bugs and feature requests

Have a bug or a feature request? Please first read the issue guidelines and search for existing and closed issues. If your problem or idea is not addressed yet, please open a new issue.

Contributing

Please read through our contributing guidelines. Included are directions for opening issues, coding standards, and notes on development.

More over, if your pull request contains JavaScript patches or features, you must include relevant unit tests.

Editor preferences are available in the editor config for easy use in common text editors. Read more and download plugins at http://editorconfig.org.

License

MIT © Mashape


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.