Skip to content

A complete system for managing and analyzing bakery business data, combining MySQL, Python visualizations, and a web interface with HTML/CSS/PHP.

Notifications You must be signed in to change notification settings

teogenitsaridis/Company-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Company Management Badge

🏢 Company Management & Analytics 🏢 System

A complete system combining MySQL, Python Data Visualization, and Web Interface for company analytics.


License: MIT
Python
PHP
MySQL

A complete project that combines a MySQL database, Python data visualization, and a Web interface (HTML/CSS/PHP) to manage and analyze data for a bakery business.


📂 Project Structure

project2/
│── python_diagramm_sql.py         # Python script for data visualization
│── companyDB.sql                  # MySQL database dump
│
└── html_folder/
    │── index.html                 # Homepage
    │── charts.html                # Charts & visualizations
    │── insights.html              # Insights & analytics
    │── contact.html               # Contact form
    │ 
    ├── css_folder/                
    │   └── style.css              # Main stylesheet
    │
    ├── images/                    # Images assets (logos, photos, etc.)
    │
    └── php_folder/                
        └── index.php              # PHP backend for contact form

⚙️ Features

  • MySQL Database: includes tables for branches, suppliers, customers, employees, products, and sales.
  • Python Data Visualization: generate interactive and insightful charts (e.g., average salary by position, sales by product, etc.).
  • Web Interface: user-friendly front-end with HTML/CSS and backend integration via PHP.
  • Responsive Design with clean structure and organized codebase.

Screenshots 📸

Screenshots

Screenshot 1 Screenshot 2 Screenshot 3 Screenshot 4 Screenshot 5 Screenshot 6 Screenshot 7 Screenshot 8 Screenshot 9 Screenshot 10

🛠️ Technologies

  • Backend: PHP 8, MySQL 8.0
  • Frontend: HTML5, CSS3
  • Data Analysis: Python 3, Matplotlib
  • Server Tools: XAMPP / MAMP (for local development)

🚀 Installation Guide

  1. Clone the repository:
    git clone https://github.com/teogenitsaridis/project2.git
    cd project2
    
  2. Create the database in MySQL:

CREATE DATABASE companyDB; USE companyDB; SOURCE companyDB.sql;

  1. Run the Python script to generate charts:

python python_diagramm_sql.py

  1. Open index.html via XAMPP/MAMP to view the web interface.



📊 Example Visualizations

Average salary by employee position

Sales per product

Total sales per branch

Supplier distribution and product quantities


👤 Author

Created by Thodoris 📍 Athens University of Economics and Business



📜 License

This project is open-source and available under the MIT License.

About

A complete system for managing and analyzing bakery business data, combining MySQL, Python visualizations, and a web interface with HTML/CSS/PHP.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published