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

https://github.com/davutbayik/flask-data-science-quiz

Data Science Quiz Using Python-Flask
https://github.com/davutbayik/flask-data-science-quiz

data-science flask flask-application flask-sqlalchemy html-css python quiz-application

Last synced: 2 months ago
JSON representation

Data Science Quiz Using Python-Flask

Awesome Lists containing this project

README

          

# Data Science Quiz Web App

![Python](https://img.shields.io/badge/Python-3.9%2B-blue.svg)
![Flask](https://img.shields.io/badge/Flask-2.x-lightgrey.svg)
![License](https://img.shields.io/badge/license-MIT-green.svg)
![Made with love](https://img.shields.io/badge/Made%20with-%E2%9D%A4-red)

A multi-page web application built with Flask that challenges users with 5 questions covering Data Science and Artificial Intelligence. The app tracks personal and global high scores using SQLAlchemy.

πŸ‘‰ [Live App](https://davutbayik.pythonanywhere.com/)

---

## ✨ Features

- 🧠 **5 curated questions** on Data Science and AI.
- 🧩 **Multi-page quiz flow** with intuitive navigation.
- πŸ† **Score tracking**: personal and global high scores stored in a database.
- πŸ’‘ **Flask backend** with SQLAlchemy for ORM.
- 🎨 **Responsive UI** with HTML/CSS.
- πŸ“Š **Real-time feedback** after each question.

---

## πŸš€ Getting Started

### Prerequisites

- Python 3.9 or higher
- pip (Python package installer)

### Installation

1. **Clone the repository:**
```bash
git clone https://github.com/davutbayik/flask-data-science-quiz.git
cd flask-data-science-quiz

2. **Create and activate a virtual environment (Optional-Recommended)**:
```bash
python -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate

3. **Install the required packages**:
```bash
pip install -r requirements.txt

4. **Run the application**:
```bash
python app.py

5. **Access the app**:
Open your browser and navigate to ```http://127.0.0.1:5000/```

## πŸ§ͺ Technologies Used

- **Python 3.9+** – Core programming language used.
- **Flask** – Lightweight web framework for building the backend.
- **SQLAlchemy** – ORM (Object Relational Mapper) for database interactions.
- **HTML5** – Markup language for structuring the web pages.
- **CSS3** – Styling for the frontend interface.
- **Jinja2** – Template engine integrated with Flask for dynamic HTML rendering.
- **PythonAnywhere** – Platform used for deploying the web app.

## πŸŽ₯ Example Demo

https://github.com/user-attachments/assets/34359403-3bfd-4c0f-a914-4dd7358e8020

## 🀝 Contributing

Contributions are welcome and appreciated! If you’d like to improve this project, here’s how you can help:

- 🐞 Report bugs or issues.
- 🌟 Suggest new features or improvements.
- πŸ”€ Fork the repo, make your changes, and submit a pull request.

Please make sure your code follows best practices and includes proper documentation where necessary.

## πŸ“„ License

This project is licensed under the terms of the [MIT License](LICENSE).
You are free to use, modify, and distribute this software as long as you include the original license.

## πŸ“¬ Contact

Made with ❀️ by [Davut BayΔ±k](https://github.com/davutbayik) β€” feel free to reach out via GitHub for questions, feedback, or collaboration ideas.

---

⭐ If you found this project helpful, consider giving it a star!