Skip to content

【Don't be shy, light one up!⭐️】A comprehensive web-based automotive repair shop management system built with Flask and MySQL. Features separate interfaces for technicians and administrators to manage repair jobs, customers, parts inventory, and billing.

License

Notifications You must be signed in to change notification settings

ChanMeng666/agrihire-solutions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AgriHire Solutions: Equipment and Order Management System

A comprehensive web application for managing agricultural equipment rentals, inventory, bookings and customer relationships. Built with Python Flask and MySQL.


👉Try It Now!👈


2024-12-14.14-51-19.mp4

screencapture-agrihireaq-pythonanywhere-2024-12-07-19_36_51

屏幕截图 2024-12-07 194310

screencapture-agrihireaq-pythonanywhere-for-hire-CHAIN-CHAIN-40PTR-2024-12-09-02_00_11

screencapture-agrihireaq-pythonanywhere-cart-2024-12-09-02_00_27

screencapture-agrihireaq-pythonanywhere-review-booking-2024-12-09-02_01_19

screencapture-agrihireaq-pythonanywhere-machines-2024-12-07-19_38_55

screencapture-agrihireaq-pythonanywhere-stock-order-store-reports-2024-12-07-19_41_19

screencapture-agrihireaq-pythonanywhere-calendar-2024-12-07-19_40_47

screencapture-agrihireaq-pythonanywhere-promotion-2024-12-07-19_43_19

Features

Customer Portal

  • Equipment browsing and searching with detailed product information
  • Shopping cart functionality with real-time availability checking
  • Online booking and payment processing
  • Account management and booking history
  • Promotional code support
  • Store locator with distance calculation
  • Customer messaging system

Staff Portal

  • Equipment check-in/check-out management
  • Real-time inventory tracking
  • Equipment maintenance records
  • Customer booking management
  • Store-specific reporting

Management Portal

  • Multi-store inventory management
  • Staff and customer management
  • Promotional campaign management
  • Financial reporting
  • Equipment utilization analytics
  • Store performance monitoring

System Features

  • Role-based access control (Customer, Staff, Local Manager, National Manager, Admin)
  • Real-time availability checking
  • Automated notifications
  • Equipment maintenance tracking
  • Multi-store support
  • Responsive design

Technology Stack

  • Backend: Python Flask
  • Database: MySQL
  • Frontend: HTML5, CSS3, JavaScript
  • Authentication: Flask-WTF with BCrypt
  • Form Handling: WTForms
  • Address Validation: Addy API
  • Visualization: ECharts
  • Additional Libraries:
    • geopy (distance calculations)
    • mysql-connector-python
    • requests
    • email_validator

Getting Started

Prerequisites

  • Python 3.x
  • MySQL
  • Git

Installation

  1. Clone the repository
git clone https://github.com/ChanMeng666/agrihire-solutions.git
  1. Create and configure database connection Create connect.py under eoms folder with your database configuration:
dbuser = "your_username"
dbpass = "your_password" 
dbhost = "localhost"
dbport = "3306"
dbname = "agrihire"
  1. (Optional) Create a virtual environment
python -m venv venv
source venv/bin/activate  # Linux/Mac
venv\Scripts\activate  # Windows
  1. Install dependencies
pip install -r requirements.txt
  1. Create database
  • Run database/agrihire_db+data.sql to create database schema and sample data
  • Disable Safe Updates mode in MySQL Workbench if needed
  1. Start the application
python run.py

Test Accounts

All accounts use the same password: Test1234!

Customer Accounts

Email Role
[email protected] customer
[email protected] customer

Staff Accounts

Email Role
[email protected] staff
[email protected] local manager
[email protected] admin

Development

Project Structure

agrihire/
├── eoms/
│   ├── model/         # Database models 
│   ├── route/         # Route handlers
│   ├── form/          # Form definitions 
│   ├── static/        # Static assets
│   └── templates/     # HTML templates
├── database/          # SQL scripts
└── requirements.txt   # Dependencies

Contributing

  1. Fork the repository
  2. Create a feature branch
git checkout -b feature/AmazingFeature
  1. Commit your changes
  2. Push to the branch
  3. Open a Pull Request

Please read our Code of Conduct before contributing.

License

Distributed under the Apache-2.0 license.

Contact

Project Link: https://agrihireaq.pythonanywhere.com/

🙋‍♀ Author

Created and maintained by Chan Meng.

About

【Don't be shy, light one up!⭐️】A comprehensive web-based automotive repair shop management system built with Flask and MySQL. Features separate interfaces for technicians and administrators to manage repair jobs, customers, parts inventory, and billing.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published