A powerful React-based form builder application that enables dynamic form generation with AI integration.
- Dynamic Form Builder: Create complex forms with drag-and-drop functionality
- AI Integration: Support for multiple AI providers (Groq, OpenAI, etc.)
- Google Forms Integration: Connect and sync with Google Forms
- Real-time Preview: See your forms as you build them
- Schema Generation: Automatically generate form schemas
- Analytics Dashboard: Track form performance and submissions
- Responsive Design: Built with Tailwind CSS for mobile-first design
- Frontend: React 18 + Vite
- Styling: Tailwind CSS + Shadcn/ui components
- Forms: React Hook Form + Zod validation
- State Management: React Query (TanStack Query)
- Animations: Framer Motion
- Authentication: Google OAuth integration
- APIs: Google Forms API, various LLM providers
- Node.js 18+ and npm
- Google Cloud Console project (for Google Forms integration)
- AI provider API keys (Groq, OpenAI, etc.)
- Clone the repository:
git clone https://github.com/nandit27/AutoFormGenerator.git
cd AutoFormGenerator- Install dependencies:
npm install- Set up environment variables:
cp .env.example .envEdit .env with your API keys and configuration.
- Start the development server:
npm run devCreate a .env file with the following variables:
# AI Provider Configuration
GROQ_API_KEY=your_groq_api_key_here
OPENAI_API_KEY=your_openai_api_key_here
# Google OAuth Configuration
GOOGLE_CLIENT_ID=your_google_client_id
GOOGLE_CLIENT_SECRET=your_google_client_secret
# Application Configuration
VITE_API_BASE_URL=http://localhost:3000npm run dev- Start development servernpm run build- Build for productionnpm run preview- Preview production buildnpm run lint- Run ESLint
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
Nandit Kalaria - @nandit27