Quizmify Tailwind Templates

Quizmify

an AI Quiz Platform built with NextJS 14, Gemini API , NextAuth, Tailwind CSS

Quizmify

Quizmify is an AI-powered web app where you generate quizzes

https://github.com/user-attachments/assets/886b7320-cab9-48bd-b15a-430fb97daa3c

How to run locally ?

1.Clone the repo

git clone https://github.com/Virajb19/Quizmify 
cd Quizmify

2. Install pnpm and then dependencies

npm i -g pnpm
pnpm install

3. Run the server

pnpm dev

4. Create .env and add environment variables

Refer .env.example

5. Start Database

Pull postgres image

docker pull postgres

Run docker container

docker run --name postgres-ctr -e POSTGRES_PASSWORD=password -p 5432:5432 -d postgres

Run this command

pnpm dlx prisma migrate deploy

Run this command to open prisma studio

pnpm dlx prisma studio

Open [http://localhost:5555]

6. Authentication

Run this to generate a key

openssl rand -base64 32

Add the key to AUTH_SECRET env var

Go to [https://github.com/settings/apps] and create an OAuth app

GITHUB_CLIENT_ID=""
GITHUB_CLIENT_SECRET=""

(Optional. You can just login using Github)

Go to [https://console.cloud.google.com/] and create an OAuth app

GOOGLE_CLIENT_ID="" GOOGLE_CLIENT_SECRET=""

7. Gemini API

Go to [https://aistudio.google.com/] and create an API key

GEMINI_API_KEY="your_gemini_api_key"

GOOGLE_GENERATIVE_AI_API_KEY="your_gemini_api_key"

Top categories

tailwind logo

Need a Tailwind website built?

Hire a professional TailwindCSS developer today.
Loading Svelte Themes