This project demonstrates the usage of shadcn-form-builder for building dynamic forms using React Hook Form and Zod for validation.
Check out the live demo here.
- Shadcn Component Library: Utilizes components for form building.
- React Hook Form: Handles form state and validation.
- Zod: Provides schema-based validation for form inputs.
- Next.js: Developed using Next.js for server-side rendering and API routes.
Follow these steps to get the project up and running on your local machine.
Node.js and npm installed on your machine. You can download and install them.
Clone the repository
git clone https://github.com/yourusername/your-project.git
Navigate to the Project Directory
cd your-project
Install Dependencies
npm install
Run the Development Server
npm run dev
This command starts the Next.js development server. You can view your project at http://localhost:3000 in your browser.
If you want to build the project for production, you can run the following command:
npm run build