How mahammadrafi-shaik/restaurant-order-billing-system works
BNR Restaurant is a Flask and SQLite web app for managing restaurant menus, customers, orders, bills, and reports. The principal workflow is to register a customer, create an order, add or adjust available menu items, then complete the order and produce a bill with tax and service charge. Menu administration and sales reporting are separate capabilities. The graph reflects documented features and sampled database use; several route implementations and template links were not shown, so those details are not inferred.
Main entry points: app.py Flask application · db.py SQLite database · seed_data.py Default menu data · templates HTML templates
Components 12
Web workflows
- Flask application
app.py - Menu management
app.py - Customer registry
app.py - Order management
app.py - Billing
app.py - Sales reports
app.py
Persistence and pricing
- Validation and totals
app.py - SQLite database
db.py - Default menu data
seed_data.py
Web presentation
- HTML templates
templates - Stylesheet
static/style.css
Other components
- Restaurant staff
Connections 14
- Restaurant staff → Flask application: uses
README.md - Flask application → Menu management: routes requests
README.md - Flask application → Customer registry: routes requests
README.md - Flask application → Order management: routes requests
README.md - Flask application → Billing: routes requests
README.md - Flask application → Sales reports: routes requests
README.md - Menu management → SQLite database: reads and writes
app.py - Customer registry → SQLite database: reads and writes
app.py - Order management → SQLite database: reads and writes
app.py - Billing → SQLite database: stores totals
app.py - Sales reports → SQLite database: queries sales
app.py - Billing → Validation and totals: calculates charges
app.py - SQLite database → Default menu data: loads menu
db.py - Flask application → HTML templates: renders pages
app.py