How sankalpgg/foodwebpl works
Food Web Pl is a menu-driven Python CLI replica of a food-ordering platform. Its main workflow is registration or login, browsing menu items or popular cuisine, adding selections to a cart, entering a delivery address, and placing an order; order placement also records feedback in MySQL. The graph focuses on the README-designated main program, pl.py. The other Python files appear to be separate experiments, and the SQL contents were not sampled, so their runtime relationships are not inferred.
Main entry points: pl.py Home menu
Components 15
Account access
- CLI entry
pl.py - Login and registration
pl.py - Account deletion
pl.py
Food ordering
- Home menu
pl.py - Menu browsing
pl.py - Popular cuisine
pl.py - Cart and totals
pl.py - Delivery address
pl.py - Order placement
pl.py
Persistence
- Feedback capture
pl.py - MySQL database
- Menu SQL asset
DB/zomato_menu.sql.sql - Popular SQL asset
DB/zomato_popular.sql.sql - Feedback SQL asset
DB/zomato_feedback.sql.sql
Other components
- CLI user
Connections 18
- CLI user → CLI entry: chooses entry
- CLI entry → Login and registration: dispatches login
- Login and registration → Home menu: opens on success
- Login and registration → Login and registration: retries registration
- CLI user → Home menu: chooses actions
- Home menu → Menu browsing: dispatches browse
- Home menu → Popular cuisine: dispatches popular
- Home menu → Cart and totals: dispatches cart
- Home menu → Delivery address: dispatches address
- Home menu → Order placement: dispatches order
- Home menu → Account deletion: dispatches deletion
- Menu browsing → MySQL database: reads menu
- Popular cuisine → MySQL database: reads popular items
- Menu browsing → Cart and totals: adds selections
- Popular cuisine → Cart and totals: adds selections
- Menu browsing → Cart and totals: opens cart
- Order placement → Feedback capture: prompts feedback
- Feedback capture → MySQL database: inserts feedback