Skip to content

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

🎩 Hogwarts Sorting Hat Quiz

Discover your true Hogwarts house with this magical interactive quiz powered by AI! Answer a series of personality-based questions and let the Sorting Hat determine which of the four houses (Gryffindor, Hufflepuff, Ravenclaw, or Slytherin) you truly belong to.

✨ Features

  • Interactive Quiz: Answer thought-provoking questions to determine your house
  • AI-Powered: Uses Google's Gemini AI to generate dynamic questions and analyze responses
  • Detailed Results: Receive a personalized character profile along with your house
  • Responsive Design: Works seamlessly on both desktop and mobile devices
  • Modern Tech Stack: Built with React, TypeScript, and Vite

🚀 Getting Started

Prerequisites

  • Node.js (v16 or higher)
  • A Google Gemini API key

Installation

  1. Clone the repository:

    git clone https://github.com/your-username/hogwarts-sorting-hat-quiz.git
    cd hogwarts-sorting-hat-quiz
  2. Install dependencies:

    npm install
  3. Create a .env.local file in the root directory and add your Gemini API key:

    VITE_GEMINI_API_KEY=your_api_key_here
  4. Start the development server:

    npm run dev
  5. Open your browser and navigate to http://localhost:5173

🏗️ Building for Production

To create a production build:

npm run build

🤝 Contributing

Contributions are welcome! Please feel free to submit a pull request or open an issue.

📄 License

This project is open source and available under the MIT License.

⚠️ Note

This is a fan-made project and is not affiliated with or endorsed by Warner Bros. Entertainment Inc., J.K. Rowling, or any of the Harry Potter related entities.

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages