Skip to content

danielace1/quiz-app-for-college

Repository files navigation

🚀 Quiz Craze

Quiz Craze is a smart quiz platform built with React and Firebase. It empowers educators to create engaging tests and allows students to take them seamlessly. Ideal for classrooms, colleges, or any learning environment looking to assess knowledge effectively.

Quiz Craze Preview


✨ Features

👨‍🏫 Admin (Educator)

  • Create, edit, and manage tests with multiple questions
  • Monitor total users, tests, and activity
  • View and manage student results
  • Clear data with one click when needed
  • Export results to CSV for offline analysis
  • Generate and Save Quizzes – Admins can now generate quizzes using AI (Groq), save them for later use, and access them anytime.

👩‍🎓 User (Student)

  • Sign up with Register Number, Email, and Password
  • Take timed quizzes with real-time answer saving
  • Get instant results with correct answers
  • Access previous test history (Recent Activity)
  • Leaderboard to see top performers

🌐 General

  • Authentication with Firebase Auth
  • Responsive UI with TailwindCSS
  • Role-based routing (Admin / User)
  • Zustand for global state management with persistence
  • Form validation using Zod and React Hook Form

🛠️ Tech Stack

  • Frontend: React, TailwindCSS, React Router
  • State Management: Zustand
  • Form Validation: Zod + React Hook Form
  • Backend: Firebase Auth, Firestore
  • Icons: Lucide Icons

📦 Installation

  1. Clone the Repository

    git clone https://github.com/danielace1/quiz-app-for-college.git
  2. Install dependencies

npm install
  1. Setup Firebase

    • Create a Firebase project at firebase.google.com

    • Enable Authentication (Email/Password)

    • Enable Firestore Database

    • Add your Firebase config in src/firebase/index.js

    • Add environment variables as per the .env.example file

  2. Run the App

    npm run dev
  3. Open in Browser and navigate to http://localhost:5173

🤝 Contributing

We welcome contributions to Quiz Craze! If you'd like to contribute, please follow these steps:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature/YourFeature).
  3. Make your changes.
  4. Commit your changes (git commit -m 'Add some feature').
  5. Push to the branch (git push origin feature/YourFeature).
  6. Create a Pull Request.

🔑 License

MIT

👨‍💻 Author

About

⚡ A smart quiz platform built with React & Firebase - perfect for educators to create tests and students to take them with ease.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors