Topic

mocking

5 min read

The API Mocking Guide: Servers, Tools, and When to Use

Quick answer: API mocking stands in for a real service with a controllable stand-in that returns canned or spec-driven responses, so frontend, mobile, and integration work can proceed before the

Read article
2 min read

The backend was three weeks late. We shipped the frontend anyway.

A concrete sprint diary: one OpenAPI file drove a local mock with latency and error overrides, a four-step checkout scenario with an HTML report, live docs, derived database tables and a hosted MCP endpoint while the real API did not exist yet.

Read article
2 min read

Don't block frontend work on a backend that isn't ready

Fake objects in components demo well and integrate badly. Agree on the coupon validation contract first, then let a spec-driven mock answer real HTTP while the service is still being built.

Read article
5 min read

Mocking APIs for frontend development: MSW vs Prism vs spec-driven mocks

MSW intercepts requests inside the browser and shines in component tests; Prism serves a spec over HTTP and validates contracts; spec-driven workspaces add journeys and streams. Here is where each belongs and how teams combine them without maintaining three sets of fixtures.

Read article