This application was previously fully hosted and operational. Due to changes in OpenAI's free API policy, the live deployment has been taken offline. The app can still be reviewed and run locally, provided you supply your own API key.
- Backend - Django (using templates)
- Database - Relational SQLite DB with ORM
- Frontend - HTML, CSS, vanilla JS
- Extended admin page with nested lists
- OpenAI API to generate quizes
- Asynchronous loading and saving of the highscore value (AJAX)
Generate a quiz based on form input values (topic, time limit, GPT temperature, amounts of questions and answers)
Generated quiz looks like this:
It's GPT 3.5 (text-davinci-003) so it bases on the training set which is already outdated (up to Jun 2021). If it won't know much about the topic it will make it up, thus I do not guarantee that the quizzes are in line with reality.
If you earn enough points, you can overwrite current highscore with your nickname (asynchronously - AJAX)
You can check the table of generated quizes, ordered by the score (highscores) to compare your results. Hover over the table header's name to see detailed description.
Here you can see a list of all the generated quizes (or - potentially - generation requests which went wrong with the whole response text).
When you enter a single quiz from that list, you get more details.
You can see a nested list implemented here for better control and overview of questions and answers from the admin page.

That's all folks. Go and solve a quiz now ;)




