Skip to content

Shadow-Syntax/Ai-form-builder

Repository files navigation

AI Form Builder

AI Form Builder is a smart and flexible SaaS application that makes creating, customizing, and deploying forms easier than ever. Powered by AI, it helps you generate forms on the fly and comes with seamless integrations for authentication, payments, and deployment.


✨ Features

  • AI-Driven Form Creation – Automatically generate forms using the Gemini API.
  • Intuitive UI – Clean, responsive design built with TailwindCSS and DaisyUI.
  • Authentication Made Simple – Secure sign-up and login powered by Clerk.
  • Monetization Ready – Accept payments with Stripe integration.
  • Reliable Database – PostgreSQL with DrizzleORM ensures efficient, scalable storage.
  • Easy Deployment – Go live in minutes with Vercel.

🛠️ Tech Stack

  • Frontend: Next.js, React, TailwindCSS, DaisyUI
  • Backend: DrizzleORM, PostgreSQL, Gemini API
  • Authentication: Clerk
  • Payments: Stripe
  • Deployment: Vercel

🚀 Getting Started

Follow these steps to set up the project locally:

1. Clone the repo

git clone https://github.com/UpgradedDhruv/ai-form-builder.git
cd ai-form-builder

2. Install dependencies

npm install

3. Add environment variables

Create a .env.local file in the root folder and include:

NEXT_PUBLIC_STRIPE_KEY=your_stripe_key
NEXT_PUBLIC_CLERK_FRONTEND_API=your_clerk_api
DATABASE_URL=your_postgresql_url
GEMINI_API_KEY=your_gemini_api_key

4. Run the development server

npm run dev

Open http://localhost:3000 in your browser.


🌍 Deployment

Deploying with Vercel is simple:

vercel login
vercel --prod

Once deployed, your app will be live at the generated URL.


📖 Usage

  1. Sign Up / Log In – Authenticate with Clerk.
  2. Generate Forms – Use AI (Gemini API) to create forms instantly.
  3. Customize & Manage – Edit, delete, or update forms as needed.
  4. Deploy & Share – Publish or embed your forms anywhere.
  5. Collect Payments – Securely process payments with Stripe.

🤝 Contributing

Contributions are always welcome!

  1. Fork the repo
  2. Create a feature branch
    git checkout -b feature-name
  3. Commit your changes
    git commit -m "Add feature description"
  4. Push to your branch
    git push origin feature-name
  5. Open a pull request 🎉

🙌 Acknowledgements

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published