Skip to content

Latest commit

 

History

History
42 lines (27 loc) · 1.1 KB

File metadata and controls

42 lines (27 loc) · 1.1 KB

Spoof

A config-driven mock API server in your terminal.

Create and host a new mock API in 2 commands:

$ ./spoof scaffold hello-world
#  Created new mock file: hello-world.route.json

$ ./spoof
#  Starting mock API server for 1 route on port 5050
$ curl -s http://localhost:5050/api/hello
> Hello, World!

All mocks in Spoof are defined in *.route.json files, so you can check them in to source control to share with other developers or use in CI pipelines.

(check out this bare-bones example)


Features


Getting Started

Follow this guide to create your first mock, then explore the features above!