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.gitNavigate to the Project Directory
cd your-projectInstall Dependencies
npm installRun the Development Server
npm run devThis 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
)