Relay
A realtime API client that keeps the whole team in sync.
Highlights
- 01
Sub-100ms request sync between collaborators
- 02
Offline-first request history with conflict-free merges
- 03
Environment variables encrypted at rest per workspace
The brief
API work is a team sport played alone. Requests live in one person's scratchpad, environments get passed around in chat, and the moment two people debug the same endpoint they duplicate everything.
Relay was built to make API testing feel like a shared document: one workspace, live cursors, and a history that everyone can see and trust.
What I built
The core is a typed request builder backed by a CRDT document. Every keystroke, response and environment change syncs over a WebSocket with optimistic local writes, so the UI never waits on the network.
On the server, a Node gateway handles fan-out and persistence, Redis carries presence and pub/sub, and Postgres holds the durable log. The product shipped with auth, workspace invites and per-seat billing.
The outcome
Relay went from Figma file to production in fourteen weeks, solo. The sync layer was load-tested at 50 concurrent editors per workspace and held under 100ms round trips on a normal connection.
The architectural bet — treat the editor as a document, not a form — is what made collaboration cheap to add rather than a rewrite.