🌟 AI QuizGenie

📌 About the Project

AI QuizGenie is a simple yet powerful web app that uses Gemini AI to generate multiple-choice questions (MCQs), short-answer questions, and flashcards — all from a single topic or chapter name.

Just type in something like "Physics Chapter: Work and Energy" and QuizGenie instantly gives you a personalized set of questions — no Googling, no searching past papers, no stress.


💡 Inspiration

As a student, I’ve always found it difficult to practice effectively before exams.
Making my own questions takes time, and finding quality MCQs online isn’t always easy.

So I thought:
What if AI could generate study material in seconds?
That idea became the spark behind AI QuizGenie.


🧠 What I Learned

  • How to use Google’s Gemini API for content generation
  • How to build a complete working app using no-code tools and a bit of scripting
  • How to structure an app from idea to execution — especially under time pressure
  • The importance of clear UX and prompt design when working with AI

🛠️ How I Built It

  • I used a no-code platform (Bolt.new / Turbine) to handle the app logic and UI
  • Connected it with Gemini Pro API using a custom script (gemini.ts)
  • Designed prompts for 3 content types: MCQs, Short Questions, Flashcards
  • Handled AI responses and parsed them to display cleanly on screen
  • Focused on a minimalist design so users can just type and get questions

🚧 Challenges I Faced

  • Setting up the Gemini API — I ran into CORS issues and 404 errors at first
  • Parsing the AI response reliably — sometimes Gemini returns markdown, not plain JSON
  • Learning to prompt AI clearly to generate structured and educational content
  • This was my first hackathon — so understanding how to structure & submit a project was also a learning curve

🏁 What’s Next

  • Add quiz scoring & history
  • Let users filter by subject and difficulty
  • Add login and saving progress
  • Possibly introduce multiplayer quiz battles for fun learning

🎉 Final Thoughts

This was my first ever hackathon — and it taught me that even with limited time and experience, you can still build something meaningful with the right tools and mindset.

AI QuizGenie was built from a genuine student need, and I’m excited to keep improving it.

Thanks for reading! 🙏

Built With

Share this project:

Updates