Skip to content

DSaunders/Spoof

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!

About

A command-line, config-driven API mocking utility

Resources

License

Stars

Watchers

Forks

Packages

No packages published