Skip to content

markhigham/api-stub-server

Repository files navigation

api-stub-server

A simple http stub server designed for use while developing and testing applications that consume external HTTP based APIs.

Installation

To install globally

npm install -g api-stub-server

Usage

To start the basic server

api-stub-server

To start using some simple sample data

api-stub-server -s

curl http://localhost/api/value/1

Docker

npm run debug