The Inspiration

Our project was inspired by a simple but powerful idea: that traditional learning methods don't work for everyone. As students, we often struggle with dense textbooks and long lectures. We wanted to create a tool that makes learning more accessible and engaging, especially for diverse learners who benefit from a personalized approach. The goal was to transform a passive activity (reading notes) into an active one (testing knowledge).


What We Built

We developed an AI-powered quiz generator that instantly creates personalized quizzes from any text. A user pastes their study notes, and the app uses the OpenAI API to analyze the content and generate a multiple-choice quiz. It provides immediate feedback, helping students identify knowledge gaps and focus their study efforts. The project was built as a web application using Flask, a lightweight Python framework, and a simple front end with HTML, CSS, and JavaScript.


The Process and Challenges

The most significant challenge we faced was deployment. While building the application locally was straightforward, getting it to work on a public server was a major hurdle. We initially ran into a TemplateNotFound error because our HTML file wasn't in the correct templates folder. After fixing that, we faced a persistent "API fail" error. This was caused by an incorrect environment variable for our Gemini API key on the hosting service (Render).

What we learned:

  • The importance of environment variables: We learned why it's critical to store sensitive information like API keys securely and not hardcode them in our files.
  • Reading logs is key: The server logs were our best friend. They provided specific error messages that allowed us to pinpoint and solve the deployment issues.
  • Perseverance pays off: The process was frustrating, but by systematically debugging each error, we were able to successfully deploy a working application. This experience taught us that deployment is an integral part of the development cycle and requires patience.

Built With

Share this project:

Updates