An intelligent quiz platform that lets users generate, attempt, and track quizzes powered by AI.
- User Authentication (JWT)
- AI-based quiz generation via Gemini API
- Timer-based quiz interface
- Detailed result analysis
- Quiz history for each user
- Profile picture uploads via Cloudinary
- Forgot Password flow
- Fully responsive UI
- Toast notifications for user feedback
- React
- Tailwind CSS
- React Router
- Axios
- React Icons
- Node.js + Express
- MongoDB + Mongoose
- Cloudinary (image upload)
- Gemini API (quiz generation)
- JWT (auth)
- Bcrypt (password hashing)
Make sure you have:
- Node.js installed
- A MongoDB Atlas account
- A Cloudinary account
- A Gemini API key
cd Server
npm init -y
npm install express mongoose dotenv cors bcryptjs jsonwebtoken axios cloudinary multer
.env
PORT=your port MONGODB_URI=your password JWT_SECRET=your key GEMINI_API_KEY=your AI API KEY CLOUDINARY_API_KEY=Cloudinary key CLOUDINARY_SECRET_KEY=you will get it from your cloudinary account's dashboard CLOUDINARY_NAME= you will get it from your cloudinary account's dashboard
npm run dev
cd Client
npm install
npm run dev
VITE_BACKEND_URL=backend port