How gpa95/eshop works
Project type and purpose
• E-SHOP is a monolithic, Python-based e-commerce application (Grade 12 academic project).
• It provides a command-line interface (CRUD product listing, authentication, cart management, order processing) and persists data in a MySQL database.
• It also supports CSV export and bar-chart visualization of sales via Pandas and Matplotlib.
File structure
• Only one source file (EShop.py) at the root. No separate “src” or “modules” directory—everything lives in a single script.
• A project report PDF is included but not part of the runtime system.
• README outlines technical stack (Python 3+, MySQL, Pandas, Matplotlib, mysql-connector).
README for additional insights
• The system uses mysql-connector to talk to a MySQL 8.0 server (user, product, order tables).
• All business logic (authentication, product browsing, cart, orders) is implemented in one big function (customer()), with room for future refactoring.
• Visualization is a secondary feature: sales data → Pandas Series → CSV/Matplotlib bar graph.