Best way to Validate and Submit Forms in Next.js15 using Zod, Prisma, Hooks, Server Actions

preview_player
Показать описание
Build and validate forms like a senior developers with the help of zod, prisma, server actions and hooks. You will learn, how to create custom zod validation object that can be used to validate form both on client side and on server side. I will use prisma orm from db operation and mongodb as database. For performing db operations, will use server action and form hooks to store form data in database.

01:45 install packages
02:50 Configure layout and pages
04:15 Add form ui
06:20 Configure prisma and db schema
10:00 Validate form on client side
15:30 Add zod validations
21:50 Show form validation errors
27:45 Add server action and hooks
32:35 Validate form on server side
35:30 Store form data in database
40:35 Add submit pending state

#zod #formvalidation #nextjs15 #prismaforms #mongodb

Follow Whatsapp Channel:

React tutorials:

JavaScript Tutorials and Projects:

Angular Tutorials:

Docker Tutorials & CI/CD:

Angular 16 Crash Course For Beginners:

Tech Tutorials - Random:

Join our facebook group:

Github repo (Give Star):

Contact us for development services:
Рекомендации по теме
Комментарии
Автор

HI sir. Your channel is the top tier. Can i request Nextjs with jest tutorial too?

kk
Автор

why you skip the part of configuring the mongo atlas. I'm stuck and unable to follow along. Any solutions?

lottola