Skip to content
This repository has been archived by the owner on Apr 21, 2024. It is now read-only.

anuragts/GPTforms

Repository files navigation

GPT Forms

Create forms with AI.

It helps to make forms using a prompt.

Tech stack

  • Next.js
  • Typescript
  • Prisma ORM
  • Clerk Auth
  • OpenAI
  • Planetscale
  • Tailwindcss

How to install

git clone <url>

cd gpt-forms

pnpm i

pnpm dev

pnpm prisma studio

# optional --  also if you want push db changes use this command

pnpm prisma db push

Add .env file with the following content:

DATABASE_URL=''
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=''
CLERK_SECRET_KEY=''
OPENAI_API_KEY=''

Important files to contibute


@/pages/form/AI.tsx

@/pages/api/AI/get.ts

@/pages/api/FORM

@/prisma/schema.prisma