Skip to content

DJSaunders1997/GPTeasers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deploy static content to Pages Trigger auto deployment for gpteasers CodeQL

GPTeasers 🧠💡

Welcome to GPTeasers - where we tickle your brain with quizzes from the depths of GPT's knowledge! 🎓🤖

https://djsaunders1997.github.io/GPTeasers/

Overview 🌐

GPTeasers is a webapp that generates quiz-style questions based on the topic you provide. Want to challenge yourself with "Roman History" or dive deep into "Quantum Physics"? We've got you covered! 📚✨

Game of GPTeasers

Features 🌟

  • Dynamic Quizzes 📝: Enter a topic and get a quiz in seconds!
  • Instant Feedback 💬: Know right away if you're a genius or if it's time to hit the books.
  • Mobile Friendly 📱: Quiz yourself anytime, anywhere.
  • Hosted on GitHub Pages 🚀: Fast, reliable, and free!

How to Use 🛠️

  1. Visit the App 🌍: Go to the GPTeasers site.
  2. Enter a Topic 🔍: Type in your desired topic in the search box.
  3. Start the Quiz 🎉: Answer the questions and see how you fare!
  4. Share & Challenge Friends 🤝: Think you did well? Share your results and challenge a friend!

Architecture

Architecture Diagram

  1. Web Browser (Client): The user accesses the static site hosted on GitHub Pages.
  2. GitHub Pages (Static Site): The static site serves content to the client. When specific actions are taken on the site (pressing a Generate Quz button), a call is made to the Azure Functions Backend.
  3. Azure Container Apps: Once triggered, the FastAPI containers communicates with the OpenAI API, sending requests and receiving responses.
  4. OpenAI API: Processes the request and sends back a response.

Contribute 🤲

Love GPTeasers? Want to make it even better? We welcome contributions!

  1. Fork this repo 🍴.
  2. Make your changes 🛠️.
  3. Submit a pull request 👥.