How abdullahabd96/restaurant-management-system-laravel works
This is a Laravel restaurant-ordering and reservation application with customer and administrator workflows. Customers browse food and chefs, add items to a cart, confirm orders and download invoices, or submit reservations. Administrators manage users, menus and chefs, review reservations and orders, and can send completion notices. Laravel web routes dispatch to the controllers; Eloquent models represent the application’s data. The graph reflects the sampled controllers and SOURCE INDEX references; unsampled route details and view wiring are not inferred.
Main entry points: AdminController.php Admin workflows · HomeController.php Customer workflows · web.php Web routes · User.php Users
Components 25
Web workflows
- Web routes
routes/web.php - Customer workflows
app/Http/Controllers/HomeController.php - Restaurant home
resources/views/home.blade.php - Cart view
resources/views/showcart.blade.php - Invoice view
resources/views/invoice.blade.php
Restaurant data
- Cart entries
app/Models/Cart.php - Food menu
app/Models/Food.php - Chefs
app/Models/Foodchef.php - Orders
app/Models/Order.php - Reservations
app/Models/Reservation.php - Application database
Administration
- Admin workflows
app/Http/Controllers/AdminController.php - Admin screens
resources/views/admin
Identity and messaging
- Users
app/Models/User.php - Fortify setup
app/Providers/FortifyServiceProvider.php - User registration
app/Actions/Fortify/CreateNewUser.php - Profile updates
app/Actions/Fortify/UpdateUserProfileInformation.php - Jetstream setup
app/Providers/JetstreamServiceProvider.php - User deletion
app/Actions/Jetstream/DeleteUser.php - Reservation email
app/Mail/ReservationConfirm.php - Order completion email
app/Mail/OrderCompletedMail.php - Reservation email template
resources/views/emails/reservation_confirm.blade.php
Other components
- Customer
- Administrator
- Mail service
Connections 30
- Customer → Web routes: requests pages
routes/web.php - Administrator → Web routes: requests admin
routes/web.php - Web routes → Customer workflows: dispatches to
routes/web.php - Web routes → Admin workflows: dispatches to
routes/web.php - Customer workflows → Restaurant home: renders
app/Http/Controllers/HomeController.php - Customer workflows → Cart view: renders
app/Http/Controllers/HomeController.php - Customer workflows → Invoice view: renders PDF
app/Http/Controllers/HomeController.php - Customer workflows → Food menu: queries
app/Http/Controllers/HomeController.php - Customer workflows → Chefs: queries
app/Http/Controllers/HomeController.php - Customer workflows → Cart entries: creates and reads
app/Http/Controllers/HomeController.php - Customer workflows → Orders: creates orders
app/Http/Controllers/HomeController.php - Customer workflows → Application database: queries and writes
app/Http/Controllers/HomeController.php - Admin workflows → Admin screens: renders
app/Http/Controllers/AdminController.php - Admin workflows → Users: manages
app/Http/Controllers/AdminController.php - Admin workflows → Food menu: manages
app/Http/Controllers/AdminController.php - Admin workflows → Chefs: manages
app/Http/Controllers/AdminController.php - Admin workflows → Reservations: records and queries
app/Http/Controllers/AdminController.php - Admin workflows → Orders: queries and updates
app/Http/Controllers/AdminController.php - Admin workflows → Application database: queries and writes
app/Http/Controllers/AdminController.php - Admin workflows → Reservation email: sends
app/Http/Controllers/AdminController.php - Admin workflows → Order completion email: sends
app/Http/Controllers/AdminController.php - Reservation email → Reservation email template: renders
app/Mail/ReservationConfirm.php - Reservation email → Mail service: delivered via
- Order completion email → Mail service: delivered via
- Fortify setup → User registration: registers action
app/Providers/FortifyServiceProvider.php - Fortify setup → Profile updates: registers action
app/Providers/FortifyServiceProvider.php - User registration → Users: creates
app/Actions/Fortify/CreateNewUser.php - Profile updates → Users: updates
app/Actions/Fortify/UpdateUserProfileInformation.php - Jetstream setup → User deletion: registers action
app/Providers/JetstreamServiceProvider.php - User deletion → Users: deletes
app/Actions/Jetstream/DeleteUser.php