Mocking your backend with a MITM proxy
summary
A local MITM proxy that runs as an NPM install module creates a self-signed certificate and automatically trusts it for Chrome and Safari, edits the hosts entry, and proxies real endpoints like amazon co uk so requests hit the laptop. Configuration is a TypeScript file enabling typed mocks: serve fixed JSON or run a function to mutate responses, simulate errors, and iterate against new endpoints before backend changes exist — not open source yet.
AI-written summary · about
related talks
25mMock to start
24mMocking made easy
42mFree Your Frontend Client from Backend Cage
47mMocking in Front-end and Back-end TypeScript Tests
40mStrategic Business Functionality Testing: Accelerating Development Through Mocking
34mInjecting Security at the Cloud Edge
25mSophisticated Schema Mocking
26mMocka - A Mock Server for Developers by Developers
