How mahendramula/online_food_order works
OFO-DBMS is a Django online food ordering and delivery platform. Customers register, browse and filter restaurant menus, manage a single-restaurant session cart, apply coupons, review server-calculated checkout totals, place orders, track delivery and submit reviews. Staff manage the order queue, drivers and menu stock through an operations dashboard. The README documents further reporting and invoice capabilities. Source excerpts show the storefront, account, cart, pricing and review paths; several operations details are documented but their implementation was not sampled.
Main entry points: orders/views.py Checkout and orders · models.py Restaurants and reviews · accounts/views.py Accounts and profiles · cart.py Session cart
Components 18
Customer experience
- Account pages
templates - Accounts and profiles
accounts/views.py - Signup validation
accounts/forms.py - Customer profiles
accounts/models.py
Restaurant catalog
- Menu discovery
restaurants/views.py - Restaurants and reviews
restaurants/models.py - Review submission
restaurants/views.py
Ordering and delivery
- Session cart
orders/cart.py - Checkout and orders
orders/views.py - Delivery and tax pricing
orders/services.py - Orders and coupons
orders/models.py - Payment and delivery records
orders/models.py - Cart and order pages
templates
Restaurant operations
- Operations dashboard
orders/views.py - Dashboard and receipt pages
templates
Other components
- Customer
- Staff operator
- SQLite databases
Connections 24
- Customer → Accounts and profiles: registers
README.md - Accounts and profiles → Signup validation: validates with
accounts/views.py - Accounts and profiles → Customer profiles: creates and updates
accounts/views.py - Customer → Menu discovery: browses
README.md - Menu discovery → Restaurants and reviews: queries menu
restaurants/views.py - Customer → Session cart: manages items
README.md - Session cart → Restaurants and reviews: loads menu items
orders/cart.py - Customer → Checkout and orders: places order
README.md - Checkout and orders → Session cart: reads session cart
orders/views.py - Checkout and orders → Delivery and tax pricing: calculates charges
orders/views.py - Checkout and orders → Orders and coupons: validates coupons
orders/views.py - Checkout and orders → Payment and delivery records: creates records
README.md - Checkout and orders → Cart and order pages: renders checkout
README.md - Customer → Review submission: submits rating
README.md - Review submission → Restaurants and reviews: saves review
restaurants/views.py - Customer → Operations dashboard: tracks orders
README.md - Staff operator → Operations dashboard: manages workflow
README.md - Operations dashboard → Orders and coupons: updates orders
README.md - Operations dashboard → Payment and delivery records: assigns drivers
README.md - Operations dashboard → Restaurants and reviews: toggles stock
README.md - Operations dashboard → Dashboard and receipt pages: presents dashboard
README.md - Orders and coupons → SQLite databases: persists
README.md - Restaurants and reviews → SQLite databases: persists
README.md - Customer profiles → SQLite databases: persists
README.md