This Form Builder Application is a dynamic, user-friendly tool built with Next.js and Tailwind CSS. It allows users to create custom forms, manage form submissions, and preview forms in real-time. The application features a drag-and-drop interface for question reordering and a comprehensive submission management system.
09.12.2024_17.02.13_REC.mp4
- Dynamic Form Creation: Create custom forms with various question types including short answer, long answer, single select, number, URL, and date.
- Real-time Preview: Instantly preview your form as you build it.
- Drag-and-Drop Reordering: Easily reorder questions using a drag-and-drop interface.
- Form Validation: Client-side validation ensures all required fields are filled before submission.
- Submission Management: View, edit, and delete form submissions in a user-friendly table interface.
- Responsive Design: Fully responsive layout that works on desktop and mobile devices.
09.12.2024_18.47.06_REC.mp4
09.12.2024_18.47.40_REC.mp4
09.12.2024_19.14.54_REC.mp4
To get started with this project, follow these steps:
-
Clone the repository:
git clone https://github.com/shivankkunwar/FormGenius.git cd FormGenius
-
Install the dependencies:
npm install
-
Run the development server:
npm run dev
-
Open http://localhost:3000 with your browser to see the result.
- Navigate to the Form Editor tab.
- Click on "Add Question" to add a new question to your form.
- Select the question type from the dropdown menu.
- Fill in the question text and any additional options if required.
- Use the drag handle to reorder questions as needed.
- Click "Preview" to see how your form will appear to users.
- Navigate to the Submissions tab.
- View all form submissions in a table format.
- Use the action menu to view, edit, or delete individual submissions.
/components
: React components used throughout the application/pages
: Next.js pages and API routes/styles
: Global styles and Tailwind CSS configuration/public
: Static assets
We welcome contributions to this project. Please follow these steps to contribute:
- Fork the repository
- Create a new branch (
git checkout -b feature/AmazingFeature
) - Make your changes
- Commit your changes (
git commit -m 'Add some AmazingFeature'
) - Push to the branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE.md file for details.
- Next.js
- Tailwind CSS
- React Beautiful DND
- Lucide React Icons