How iamhusnain-1214/restaurant-system works
This is a Raylib restaurant-management application. A user navigates the UI to browse the menu, register customers and riders, place and track orders, and create reservations; the main loop coordinates these operations with the domain objects. Menu pricing, order totals/status, rider assignment, and table-slot availability are represented in the object model. The excerpts establish several direct interactions, but do not show all order-placement and rider-assignment UI logic, so those links are omitted.
Main entry points: BSAI25005-main.cpp Raylib Application · BSAI25005-Resturant.h Restaurant · BSAI25005-Order.cpp Order · BSAI25005-Menu.cpp Menu
Components 9
Application UI
- Raylib Application
BSAI25005-main.cpp
Restaurant Operations
- Restaurant
BSAI25005-Resturant.h - Customer
BSAI25005-Customer.cpp - Order
BSAI25005-Order.cpp - Rider
BSAI25005-Rider.cpp - Reservation
BSAI25005-Reservation.cpp
Other components
- Restaurant User
Connections 15
- Restaurant User → Raylib Application: uses
README.md - Raylib Application → Restaurant: creates
BSAI25005-main.cpp - Raylib Application → Menu: retrieves
BSAI25005-main.cpp - Restaurant → Menu: owns
BSAI25005-Resturant.h - Menu → Menu Item: creates
BSAI25005-Menu.cpp - Raylib Application → Customer: registers
BSAI25005-main.cpp - Raylib Application → Rider: registers
BSAI25005-main.cpp - Raylib Application → Order: creates
BSAI25005-main.cpp - Order → Customer: displays
BSAI25005-Order.cpp - Order → Menu Item: prices items
BSAI25005-Order.cpp - Order → Rider: assigns
BSAI25005-Order.cpp - Raylib Application → Reservation: creates
BSAI25005-main.cpp - Raylib Application → Restaurant: checks availability
BSAI25005-main.cpp - Raylib Application → Restaurant: adds reservation
BSAI25005-main.cpp - Restaurant → Reservation: checks slots
BSAI25005-Resturant.h