This project is a quiz application powered by AI (mdb.ai). It allows users to create, play, and manage quizzes.
- Python 🐍
- Flask 🌐
- SQLite 🗃️
- MindsDB 🧠
- Tailwind CSS + Bootstrap 🎨
🅱️
To use this project, follow these steps:
-
Install Docker and MindsDB:
- Follow the MindsDB Docker installation guide: Setup MindsDB with Docker.
- Ensure Docker is installed on your system.
-
Get API Key from mdb.ai:
- Obtain an API key from mdb.ai.
- Create a
.env
file in the project root and add your MindsDB API key.
-
Set Up Python Virtual Environment:
-
Create and activate a virtual environment (recommended):
python -m venv venv source venv/bin/activate # On Windows use `venv\Scripts\activate`
-
-
Install Dependencies:
-
Install required Python packages from
requirements.txt
:pip install -r requirements.txt
-
-
Run Setup Script:
-
Run
setup.py
script to set up the database and any initial configurations:python setup.py
-
-
Run the Application:
-
Start the Flask application:
python app.py
-
-
Access the Application:
- Open a web browser and go to http://127.0.0.1:5000 to access the quiz app.
- Explore and try out different quizzes!
If you find this project useful, please consider starring the repository on GitHub!