How charan30301/food works
Grand Palace is a Flask-based food preordering and kitchen-management system. Customers authenticate, browse the menu, maintain a cart, submit orders and track kitchen status; kitchen staff manage requests, order states, menu availability and operational settings. The implementation is concentrated in app.py, with HTML views under templates/. The README documents payment, OAuth, and media-management capabilities, but the excerpts do not show all their implementation details; those links are identified as documented rather than inferred from unseen code.
Main entry points: app.py Flask routes · menu.html Menu view · cart.html Cart view · admin_dashboard.html Admin dashboard
Components 21
Customer ordering
- Menu and cart
app.py - Menu view
templates/menu.html - Cart view
templates/cart.html - Order submission
app.py - Order tracking
app.py
Kitchen operations
- Admin authentication
app.py - Order operations
app.py - Menu management
app.py - Kitchen settings
app.py - Media management
app.py - Admin dashboard
templates/admin_dashboard.html - Admin login view
templates/admin_login.html
Application services
- Flask routes
app.py - Customer authentication
app.py - Payment processing
app.py
External services
- PostgreSQL
- Google Identity
- Razorpay
- Uploaded media
static/uploads
Other components
- Customer
- Kitchen staff
Connections 25
- Customer → Flask routes: uses
README.md - Flask routes → Menu view: renders
app.py - Flask routes → Cart view: renders
app.py - Flask routes → Customer authentication: routes to
app.py - Customer authentication → Google Identity: verifies token
app.py - Flask routes → Menu and cart: routes to
app.py - Menu and cart → PostgreSQL: reads and writes
app.py - Flask routes → Order submission: routes to
app.py - Order submission → PostgreSQL: reads and writes
app.py - Order submission → Payment processing: initiates payment
README.md - Payment processing → Razorpay: uses gateway
README.md - Flask routes → Order tracking: routes to
app.py - Order tracking → PostgreSQL: reads and updates
app.py - Kitchen staff → Flask routes: uses
README.md - Flask routes → Admin login view: renders
app.py - Flask routes → Admin dashboard: renders
app.py - Flask routes → Admin authentication: routes to
app.py - Flask routes → Order operations: routes to
app.py - Order operations → PostgreSQL: updates orders
app.py - Flask routes → Menu management: routes to
app.py - Menu management → PostgreSQL: updates menu
app.py - Flask routes → Kitchen settings: routes to
app.py - Kitchen settings → PostgreSQL: updates settings
app.py - Flask routes → Media management: routes to
README.md - Media management → Uploaded media: manages files
README.md