How rahil312/food-manufacturing-inventory-management-system works
This is a Python CLI backed by MySQL for food-manufacturing inventory and production. A user logs in, is routed by role, and performs manufacturer, supplier, or read-only viewer operations against the database. The README describes database-enforced capabilities including FEFO consumption, recipes, supplier formulations, compliance, auditability, and reporting. The excerpts confirm login and database access; role-operation links beyond the shown entry-point dispatch are documented or unverified, so those edges are dashed.
Main entry points: db.py Database helpers · menus.py Role menus · main.py Application entry · auth.py Login authentication
Components 12
CLI access
- Application entry
app/main.py - Login authentication
app/auth.py - Role menus
app/menus.py
Business operations
- Manufacturing operations
app/manufacturer_actions.py - Supplier operations
app/supplier_actions.py - Read-only browsing
app/viewer_actions.py - Inventory queries
app/queries.py
Database access
- Database helpers
app/db.py - Inventory business logic
01_schema_and_logic.sql
Data maintenance
- Data clearing
app/clear_data.py
Other components
- CLI user
- MySQL server
Connections 14
- CLI user → Application entry: starts
README.md - Application entry → Login authentication: authenticates
app/main.py - Application entry → Role menus: dispatches by role
app/main.py - Role menus → Manufacturing operations: offers operations
- Role menus → Supplier operations: offers operations
- Role menus → Read-only browsing: offers browsing
- Login authentication → Database helpers: queries accounts
app/auth.py - Manufacturing operations → Database helpers: uses queries
- Supplier operations → Database helpers: uses queries
- Read-only browsing → Database helpers: queries data
app/viewer_actions.py - Inventory queries → Database helpers: runs queries
app/queries.py - Data clearing → Database helpers: deletes records
app/clear_data.py - Database helpers → MySQL server: executes SQL
app/db.py - Inventory business logic → MySQL server: defines schema logic
README.md