API Contracts Between Frontend and Backend

Shared types, Zod schemas, contract testing, and the patterns that turn API mismatches from runtime surprises into compile-time errors.