An open API service indexing awesome lists of open source software.

https://github.com/k0msenapati/ai-quiz-bot

🧠 AI-powered quiz app with predictive capabilities, ❓ create, play, and manage quizzes...
https://github.com/k0msenapati/ai-quiz-bot

flask mindsdb mindsdb-python-sdk python sqlite3

Last synced: 4 months ago
JSON representation

🧠 AI-powered quiz app with predictive capabilities, ❓ create, play, and manage quizzes...

Awesome Lists containing this project

README

          

# AI Quiz App

This project is a quiz application powered by AI (mdb.ai). It allows users to create, play, and manage quizzes.

### :movie_camera: Demo





---

### Tech Stack

- Python 🐍
- Flask 🌐
- SQLite 🗃️
- MindsDB 🧠
- Tailwind CSS + Bootstrap 🎨🅱️

---

### :outbox_tray: Set up
To use this project, follow these steps:

1. **Install Docker and MindsDB**:
- Follow the MindsDB Docker installation guide: [Setup MindsDB with Docker](https://docs.mindsdb.com/setup/self-hosted/docker).
- Ensure Docker is installed on your system.

2. **Get API Key from mdb.ai**:
- Obtain an API key from [mdb.ai](https://mdb.ai).
- Create a `.env` file in the project root and add your MindsDB API key.

3. **Set Up Python Virtual Environment**:
- Create and activate a virtual environment (recommended):

```sh
python -m venv venv
source venv/bin/activate # On Windows use `venv\Scripts\activate`
```

4. **Install Dependencies**:
- Install required Python packages from `requirements.txt`:

```sh
pip install -r requirements.txt
```

5. **Run Setup Script**:
- Run `setup.py` script to set up the database and any initial configurations:

```sh
python setup.py
```

6. **Run the Application**:
- Start the Flask application:

```sh
python app.py
```

7. **Access the Application**:
- Open a web browser and go to [http://127.0.0.1:5000](http://127.0.0.1:5000) to access the quiz app.
- Explore and try out different quizzes!

---

### :star: Star the Repository
If you find this project useful, please consider starring the repository on GitHub!

---

🌟 Meet the Author


GitHub Profile
Twitter Profile
LinkedIn Profile