Skip to content

An AI-powered quiz generator built with Next.js, Vercel AI SDK, Generative UI, OpenAI api, Supabase, and shadcn/ui.

Notifications You must be signed in to change notification settings

classroomio/assignGPT

Repository files navigation

QuizmeGPT 🎓✨

A ChatGPT-powered quiz generator built with Next.js, Vercel AI SDK, Generative UI, Supabase, and shadcn/ui.

QuizmeGPT Banner

🚀 Live Demo

🔗 Click here to try QuizmeGPT


📌 Overview

QuizmeGPT is an AI-powered quiz generator designed to help users create quizzes effortlessly. Whether for education, training, or just for fun, QuizmeGPT allows users to generate quizzes dynamically using AI.

🔹 Instant quiz generation using AI
🔹 Customizable quiz topics
🔹 Multiple-choice & open-ended questions
🔹 User-friendly interface with shadcn/ui
🔹 Built for speed & scalability with Next.js & Supabase


Tech Stack

  • Next.js – Full-stack React framework
  • Vercel AI SDK + Generative UI – AI-powered chat & UI components
  • Supabase – Backend database & authentication
  • shadcn/ui – Elegant UI components

📸 Screenshots

Quiz Generation Quiz View Result Page
Quiz Creation Quiz Taking Results

🛠️ Installation & Setup

Clone the repo and install dependencies:

git clone https://github.com/yourusername/QuizmeGPT.git
cd QuizmeGPT
npm install  # or pnpm install / yarn install

To work in development you need supabase cli and and docker installed

Install supabase cli

npm install -g supabase-cli

Then start supabase

supabase start

Create a .env.local file and add the following environment variables:

OPENAI_API_KEY=
NEXT_PUBLIC_SUPABASE_URL=
NEXT_PUBLIC_SUPABASE_ANON_KEY=
NEXT_PUBLIC_URL=
SUPABASE_DB_PASSWORD=
SUPABASE_ACCESS_TOKEN=
# to use Oauth
SUPABASE_AUTH_EXTERNAL_GOOGLE_SECRET=
SUPABASE_AUTH_GOOGLE_CLIENT_ID=

Run the development server:

npm run dev # or yarn dev

🎯 Features

✅ AI-generated quizzes
✅ Save and manage quizzes in Supabase
✅ User authentication (Supabase Auth)
✅ Responsive UI with shadcn/ui
✅ Seamless AI interaction with Vercel AI SDK


🙌 Contributing

We welcome contributions! Feel free to open an issue or submit a pull request.

  1. Fork the repo
  2. Create a new branch: git checkout -b feature-branch
  3. Commit changes: git commit -m "Added new feature"
  4. Push to GitHub: git push origin feature-branch
  5. Create a pull request

📄 License

This project is licensed under the MIT License.


Support the Project

If you like QuizmeGPT, give this repo a ⭐ and share it with others!

About

An AI-powered quiz generator built with Next.js, Vercel AI SDK, Generative UI, OpenAI api, Supabase, and shadcn/ui.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published