Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/kom-senapati/ai-quiz-bot
- Owner: kom-senapati
- License: mit
- Created: 2024-06-30T15:12:48.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-07-10T07:08:09.000Z (4 months ago)
- Last Synced: 2024-07-10T09:04:03.536Z (4 months ago)
- Topics: flask, mindsdb, mindsdb-python-sdk, python, sqlite3
- Language: HTML
- Homepage:
- Size: 98.6 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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