Validating user input with Zod
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

▶︎
Learn Zod In 30 Minutes

▶︎
Map vs Object in JavaScript

▶︎
Catch Type Errors at Runtime with Zod: An Intro to this JavaScript Library

▶︎
Zod Makes TypeScript Even Better

▶︎
Why Aliens Would NEVER Invade Africa

▶︎
Unfortunately, I Was Right

▶︎
Fixing TypeScript's Blindspot: Runtime Typechecking

▶︎
Generics: The most intimidating TypeScript feature

▶︎
React Hook Form (+ Zod) - Complete Tutorial

▶︎
NBA Moments That Only Happen Once in a Lifetime

▶︎
Zod : Parse your Data Get Typesafety

▶︎
CONSTANTINOVKA IS FALLING⚡ Battle for Druzhkivka Begins⚔️ Deep Strikes on Russian Day💥 MS 12.06.2026

▶︎
Inside Anthropic, the $965 Billion AI Juggernaut | The Circuit

▶︎
TypeSafe JavaScript Data Validation (ZOD) // 4 minute tip

▶︎
Jimmy Carr Roasts a 17-Year-Old Mouthy Mechanic In Front of His Parents!

▶︎
How does ZOD work? Build it yourself!

▶︎
10 React Hooks Explained // Plus Build your own from Scratch

▶︎
The French Do Not Care About Work

▶︎
Zod's Object Parsing: A Game Changer for TypeScript

▶︎
