https://github.com/caiogondim/mocker
https://github.com/caiogondim/mocker
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/caiogondim/mocker
- Owner: caiogondim
- Created: 2024-02-16T03:35:19.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-12T14:56:48.000Z (about 1 year ago)
- Last Synced: 2025-01-24T18:08:33.815Z (5 months ago)
- Language: JavaScript
- Size: 5.91 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# mocker 🥸
Mocker is a
[self-initializing fake](https://martinfowler.com/bliki/SelfInitializingFake.html)
implemented as a [reverse proxy](https://en.wikipedia.org/wiki/Reverse_proxy)
that supports different record/playback modes.It records HTTP interactions in a file-system so they can be later replayed
during local development or in
[broad stack tests](https://martinfowler.com/bliki/BroadStackTest.html),
precluding the need for access to real external services.Mocker is implemented in JavaScript, it has zero dependencies, and can be used
either as a command-line tool or as a library.## Installation
```bash
brew tap caiogondim/tap
brew install mocker
```## Usage
```bash
mocker --help
```More info on [docs](./docs).