Validating user input with Zod

Опубликовано: 26 Июль 2026
на канале: Leigh Halliday
23,341
806

In this video we use Zod to validate incoming user data sent to an API route in Next.js.

---------- Course

Want to go deeper with Next.js? Join me in my Next Level Next.js course where over 29 videos and 8 hours of content we'll build a full application from start to finish. We use TypeScript, GraphQL, Prisma, Apollo, Mapbox, Firebase and lots more. https://courses.leighhalliday.com/nex...

---------- Links

Zod - https://www.npmjs.com/package/zod
Starter Code - https://github.com/leighhalliday/next...
Source Code - https://github.com/leighhalliday/next...

---------- Connect

Join this channel -    / @leighhalliday  
Join me on Discord -   / discord