How kapustakstepan-dev/project-restaurant works
RetroBite is a Flask restaurant application for menu browsing, account access, ordering, and table reservations, with an admin dashboard for managing restaurant data. The principal customer flow is browsing menu items, building a session-backed basket, checking out, and viewing order history; reservations are a separate booking flow. Flask routes render Jinja templates and use SQLAlchemy models backed by PostgreSQL. README features document additional UI and email capabilities; the sampled route excerpts are partial, so uncertain route-to-feature wiring is omitted.
Main entry points: online_restaurant.py Flask routes · online_restaurant_db.py ORM models · main.js Browser interface · templates Page templates
Components 18
Web experience
- Page templates
ProyectRestourant/templates - Browser interface
ProyectRestourant/static/js/main.js - Translations
ProyectRestourant/static/js/translate.js - Theme preference
ProyectRestourant/static/js/theme.js - Animations
ProyectRestourant/static/js/animations.js
Customer services
- Flask routes
ProyectRestourant/online_restaurant.py - Menu browsing
ProyectRestourant/online_restaurant.py - Accounts and login
ProyectRestourant/online_restaurant.py - Basket and checkout
ProyectRestourant/online_restaurant.py - Order history
ProyectRestourant/online_restaurant.py - Table bookings
ProyectRestourant/online_restaurant.py - Email receipts
ProyectRestourant/online_restaurant.py
Administration
- Admin dashboard
ProyectRestourant/online_restaurant.py
Persistence and integrations
- ORM models
ProyectRestourant/back/BD/online_restaurant_db.py - PostgreSQL
- SMTP service
Other components
- Customer
- Administrator
Connections 23
- Customer → Flask routes: requests
- Administrator → Flask routes: admin requests
- Flask routes → Page templates: renders
- Flask routes → Menu browsing: dispatches
- Flask routes → Accounts and login: dispatches
- Flask routes → Basket and checkout: dispatches
- Flask routes → Order history: dispatches
- Flask routes → Table bookings: dispatches
- Flask routes → Admin dashboard: dispatches
- Menu browsing → ORM models: queries
- Accounts and login → ORM models: queries
- Basket and checkout → ORM models: reads and writes
- Order history → ORM models: queries
- Table bookings → ORM models: reads and writes
- Admin dashboard → ORM models: manages records
- ORM models → PostgreSQL: persists data
- Browser interface → Flask routes: navigates
- Browser interface → Translations: uses
- Browser interface → Theme preference: uses
- Browser interface → Animations: uses
- Flask routes → Email receipts: dispatches
- Email receipts → ORM models: loads order items
- Email receipts → SMTP service: sends receipt