This project demonstrates a dynamic form rendering application using React, TypeScript, and Vite. The form fields are fetched from a backend API and rendered dynamically based on the response.
- Dynamic form rendering with fields fetched from a backend API (
mockapi.io
used). - Form validation using
react-hook-form
andzod
. - State management and data fetching with
@tanstack/react-query
andaxios
. - UI components from
shadcn
. - Page routing using
@tanstack/react-router
.
To run this project locally, follow these steps:
- Clone the repository.
- Install dependencies using
pnpm i
. - Start the development server using
pnpm dev
.
dev
: Starts the development server.build
: Builds the project for production.lint
: Runs ESLint to check for code quality issues.preview
: Previews the production build.
This project is licensed under the MIT License.