Loading repository data…
Loading repository data…
yasir13001 / repository
An interactive web-based GRE quiz application built with FastAPI, HTML/CSS/JavaScript, and powered by Google Gemini Flash 2.5 to dynamically generate GRE-style questions.
An interactive web-based GRE quiz application built with FastAPI, HTML/CSS/JavaScript, and powered by Google Gemini Flash 2.5 to dynamically generate GRE-style questions.
QuizAI/
├── backend/
│ ├── main.py # FastAPI app
│ └── gemini_client.py # Gemini 2.5 Flash integration
├── frontend/
│ ├── index.html # Quiz UI
│ ├── styles.css # Stylesheet
│ └── app.js # Quiz logic
├── README.md
git clone https://github.com/yasir13001/QuizAI.git
cd QuizAI
Create a virtual environment and install required packages:
pip install fastapi uvicorn python-dotenv google-generativeai
Ensure your environment has the Gemini API key available.
# gemini_client.py
from google import genai
genai.configure(api_key="YOUR_API_KEY")
client = genai.Client()
From the project root:
uvicorn backend.main:app --reload --port 8080
Visit: http://localhost:8080
Built by MoonAI — powered by OpenAI + Google Gemini.
MIT License. Feel free to use, modify, and share.