How hugo10-bit/kelompok5_toonburger works
Toon Burger is a Laravel burger-ordering and restaurant-operations website. Customers browse and search the menu, configure products in a session cart, apply coupons, check out for takeaway or delivery, then view orders and submit reviews. Staff manage orders and restaurant resources, with a separate POS flow for in-person sales. The graph reflects documented capabilities and sampled controller behavior; the route file and several controllers were not sampled, so detailed route-to-handler wiring is omitted.
Main entry points: web.php Web routes · OrderController.php Checkout and orders · Models Domain models · CartController.php Cart and coupons
Components 21
Customer ordering
- Menu browsing
app/Http/Controllers/MenuController.php - Menu pages
resources/views/menu/index.blade.php - Cart and coupons
app/Http/Controllers/CartController.php - Cart interface
resources/views/layouts/app.blade.php - Checkout and orders
app/Http/Controllers/OrderController.php - Checkout pages
resources/views/orders/checkout.blade.php - Order history
resources/views/orders/index.blade.php - Order details
resources/views/orders/show.blade.php - Authentication
app/Http/Controllers/AuthController.php - Login and registration
resources/views/auth - Product reviews
app/Http/Controllers/OrderController.php - GoFood and outlet links
resources/views/layouts/app.blade.php
Restaurant operations
- Admin operations
app/Http/Controllers/AdminController.php - Admin and POS screens
resources/views/admin - Admin access control
app/Http/Middleware/AdminMiddleware.php
Application domain
- Domain models
app/Models - Application database
Web runtime
- Laravel request entry
public/index.php - Web routes
routes/web.php
Other components
- Customer
- Admin / staff
Connections 27
- Customer → Laravel request entry: sends requests
- Admin / staff → Laravel request entry: sends requests
- Laravel request entry → Web routes: dispatches
- Web routes → Menu browsing
- Web routes → Cart and coupons
- Web routes → Checkout and orders
- Web routes → Authentication
- Web routes → Admin operations
- Web routes → Product reviews
- Menu browsing → Domain models: reads menu data
- Menu browsing → Menu pages: renders
- Cart and coupons → Domain models: reads products, coupons
- Cart and coupons → Cart interface: returns cart data
- Cart and coupons → Checkout and orders: provides cart
- Checkout and orders → Domain models: reads and writes orders
- Checkout and orders → Checkout pages: renders checkout
- Checkout and orders → Order history: renders history
- Checkout and orders → Order details: renders order
- Checkout and orders → Application database: persists orders, payments
- Authentication → Domain models: reads and writes users
- Authentication → Login and registration: renders
- Admin operations → Domain models: reads and writes operations data
- Admin operations → Admin and POS screens: renders
- Admin access control → Admin operations: guards access
- Product reviews → Domain models: writes reviews
- Domain models → Application database: reads and writes
- Customer → GoFood and outlet links: follows links