Fake API Server
This tool allows you to register collections of arbitrary endpoints to mock responses for, allowing you to easily test your code end-to-end.
Pair with the Fake API Client for easy collection registration.
View the API Documentation to get a better idea of how to use the Fake API.
A server instance has been set up at https://node-fake-api-server.herokuapp.com/.
Schema
We have defined an Open API Specification as well as a detailed JSON Schema of the request payloads.
Usage
Run Locally (Private)
npm install -g node-fake-api-serverfake-api-server
Run Locally (Public)
npm install -g node-fake-api-serverfake-api-server --public
Run In Code
const http = ;const app = ; const port = Math + 3000; app; const server = http;server; server;