GithubHelp home page GithubHelp logo

youngtiger1 / ai-form-builder Goto Github PK

View Code? Open in Web Editor NEW

This project forked from harshxraj/ai-form-builder

0.0 0.0 0.0 793 KB

Next js app where users can easily create customized forms by providing prompts, and the forms can be published for others to fill out. The admin of the form can access and view all responses submitted.

Home Page: https://ai-form-builder-six.vercel.app

JavaScript 0.28% TypeScript 98.57% CSS 1.15%

ai-form-builder's Introduction

AI Form Builder

This is an AI-powered form builder application built using Next.js, Next-auth, Shadcn UI, Gemini AI API, Drizzle, PostgreSQL, and TypeScript. With this application, users can easily create customized forms by providing prompts, and the forms can be published for others to fill out. The admin of the form can access and view all responses submitted.

Features

  • AI-Powered Form Creation: Users can create forms by simply providing prompts, and the AI generates the necessary form fields based on the prompts.
  • Authentication: Next-auth is integrated for secure authentication, allowing users to sign up, sign in, and manage their accounts.
  • Responsive Design: Shadcn UI ensures that the application is responsive and looks great across various devices and screen sizes.
  • Admin Dashboard: Admin users have access to a dashboard where they can view all responses submitted to their forms.
  • Persistent Data Storage: PostgreSQL is used as the database to store form configurations, user information, and form responses securely.
  • Theme Customization: The app offers six different themes for users to choose from, allowing them to customize the appearance of their app interface.
  • Type Safety: TypeScript is employed throughout the project to provide type safety and enhance code maintainability.

Technologies Used

  • Next.js: A React framework for building server-side rendered (SSR) and statically generated web applications.
  • Next-auth: A complete open-source authentication solution for Next.js applications.
  • Shadcn UI: A UI framework for building beautiful, responsive web interfaces.
  • Gemini AI API: An API for integrating artificial intelligence capabilities into applications.
  • Drizzle ORM: ORM used for object-relational mapping, simplifying database interactions and management.
  • PostgreSQL: A powerful, open-source relational database system.
  • TypeScript: A statically typed superset of JavaScript that provides type safety and enhance code maintainability.

Get Started

  1. Clone the repository:

    git clone https://github.com/harshxraj/ai-form-builder.git
  2. Install Dependencies:

    cd your_repo
    npm intall
  3. Set Up Environment Variables:

     GEMINI_API_KEY=
     GOOGLE_CLIENT_ID=
     GOOGLE_CLIENT_SECRET=
     AUTH_SECRET=
     DATABASE_URL=

Preview

demo.mp4

Dashboard

Screenshot 2024-03-17 181850

Results Page

Screenshot 2024-03-17 183821

ai-form-builder's People

Contributors

harshxraj avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.