Skip to content

Giftea/zod-rhf-fcc

Repository files navigation


Logo

How to Validate Forms with Zod and React-Hook-Form


Live Project · Read Article

Thumbnail

Introduction

This is the GitHub repository for the How to Validate Forms with Zod and React-Hook-Form tutorial.

In this tutorial, you will learn how to build a type-safe form using React-Hook-Form for form management and Zod for both client-side and server-side validation.

Getting Started

To get started, follow the steps below:

  1. Clone the starter branch of this repository:
git clone --branch starter https://github.com/Giftea/zod-rhf-fcc.git
  1. Run the command below to install dependencies:
npm install
  1. Start the development server:
npm run dev

All set!