Skip to content
~/mahadi hassan
← All posts

Tag

Next.js

Type-Safe From Database to UI: Zod Contracts in a Turborepo — cover
TypeScriptNestJSNext.js

Type-Safe From Database to UI: Zod Contracts in a Turborepo

The bug that wastes the most time is the silent one where the API returns a slightly different shape than the frontend expects. Here is how a single Zod contracts package in a Turborepo kills that class of bug entirely.

2 min read1 comment★ 2