Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/kom-senapati/ai-quiz-bot

This project is a quiz application powered by AI (mdb.ai). It allows users to create, play, and manage quizzes using MindsDB for predictive capabilities.
https://github.com/kom-senapati/ai-quiz-bot

flask mindsdb mindsdb-python-sdk python sqlite3

Last synced: about 4 hours ago
JSON representation

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

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