https://github.com/markhigham/api-stub-server
Simple REST stub server
https://github.com/markhigham/api-stub-server
rest-api stub-server
Last synced: 12 months ago
JSON representation
Simple REST stub server
- Host: GitHub
- URL: https://github.com/markhigham/api-stub-server
- Owner: markhigham
- Created: 2017-06-16T12:58:48.000Z (about 9 years ago)
- Default Branch: main
- Last Pushed: 2024-08-23T19:39:26.000Z (almost 2 years ago)
- Last Synced: 2024-10-30T13:52:08.483Z (over 1 year ago)
- Topics: rest-api, stub-server
- Language: TypeScript
- Size: 474 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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