DocumentationLocal Mock Servers

Local Mock Servers

Stop waiting for backend teams to finish their endpoints. You can design your API contracts and spin up a local mock server directly inside ForgeReq to unblock your frontend development.

Mock Servers

Instant Feedback Loop

Every library collection in ForgeReq can be exposed as an HTTP mock server on localhost with a single click.

  • Define an endpoint in your workspace (e.g. GET /users).
  • Head to the Mocking tab on that endpoint and author a mock response body and HTTP status code.
  • Start the Mock Server for that library on a port of your choosing.

The server runs entirely in the background within the Electron main process, handling requests blazingly fast and returning your predefined mock data.