Go Quiz is a sleek, secure, and interactive quiz platform built with modern technologies like Next.js, TypeScript, Prisma ORM, and MySQL. It delivers a timed quiz experience with speed-based scoring and anti-cheating mechanisms to ensure fair play.
⚠️ The project is currently under development — new features and improvements are being added.
- Frontend: Next.js (App Router) + TypeScript
- Backend: Next.js API Routes
- Database: MySQL (via Prisma ORM)
- Authentication: NextAuth.js
- ORM: Prisma
- Deployment: Vercel
- 🔐 User Authentication via NextAuth
- ⏱️ Timed Questions – each question has its own countdown
- ⚡ Speed-Based Scoring – the faster you answer, the more points you earn
- 🚫 Single Attempt Policy – users can attempt each quiz only once
- 🛡️ Anti-Cheating Features – tab-switch detection and anti copy paste features
- 🏆 Leaderboard – view top scorers and compete with others
- 📋 Instant Results & Score Summary
- 🌐 Responsive UI for all devices
- 🧪 Currently in development mode
Add screenshots here later
git clone https://github.com/your-username/goquiz.git
cd goquiznpm installCreate a .env file in the root with:
DATABASE_URL="mysql://user:password@localhost:3306/dbname"
NEXTAUTH_URL=http://localhost:3000
NEXTAUTH_SECRET=your-secret-key
# OAuth credentials if using providers like Googlenpx prisma generate
npx prisma migrate dev --name initnpm run devApp will be running at: http://localhost:3000
User– stores user infoQuiz– quiz metadataQuestion– questions under each quizOption– multiple-choice optionsResult– user attempts, scores, and timingLeaderboard– aggregated high scores per quiz
(You can include an ER diagram or Prisma schema here if needed)
Made with ❤️ by [Kavyanjali Gavate]