A software made by a current student in UMaT, Ghana to improve the equipment maintenance handling practices in factories.
Below is a sample **README.md** file for your project. You can adjust the sections as needed.
---
```markdown
# MaintenanceTrackPro
## Overview
MaintenanceTrackPro is a web-based application designed to streamline equipment management and maintenance for industrial or facility teams. It helps track equipment health, schedule maintenance, log issues, and manage user roles (boss, admin, engineer) to ensure operational efficiency and reduce downtime.
*A software made by a current student in UMaT, Ghana to improve the equipment maintenance handling practices in factories.*
## Features
- **Role-Based Dashboards**: Tailored views for bosses, admins, and engineers.
- **Equipment Management**: Add, view, and manage equipment details along with QR code integration for quick access.
- **Maintenance Tracking**: Schedule and log maintenance tasks efficiently.
- **Health Monitoring**: Visual display of equipment health (randomly generated between 60-100%) using graphs.
- **Notifications**: Report issues and receive alerts.
- **QR Code Scanning**: Quickly access equipment details via QR codes.
## How It Works
- **app.py**: Initializes the Flask application, configures the SQLite database, sets up file uploads, and validates image formats.
- **routes.py**: Defines the URL endpoints and logic for user authentication (login/logout), dashboard views, equipment addition, and more.
- **models.py**: Contains the database models, including Users, Equipment, Maintenance, and Notifications.
- **Templates**: HTML files (e.g., `engineer_dashboard.html`) render the user interfaces and display dynamic content such as equipment health graphs.
## Installation
1. **Clone the Repository:**
```bash
git clone
github.com
cd MaintenanceTrackPro
```
2. **Set Up a Virtual Environment:**
```bash
python3 -m venv venv
source venv/bin/activate
```
3. **Install Dependencies:**
Make sure you have a `requirements.txt` file, then run:
```bash
pip ins …