Building the UI First, Against a Mock Data Layer
8 min readWhy I built the entire UI of an internal workflow tool before standing up Postgres, and how the mock layer worked: an in-memory store, MSW interception, Zod as the single source of truth, and a cookie-based mock session to exercise every role.
Next.jsZodMSW