How bakliounsaid/appointment works
Appointment-App is a Laravel/Livewire application for a curtain-fitting business, with client appointment booking and product sales plus an admin operations dashboard. The client workflow covers booking an appointment, browsing products and purchasing, and tracking request status. Admins monitor and update appointment stages, manage products and categories, and handle orders. Appointment and order models represent the domain state; delivery dispatch is an additional integration. The README documents the main capabilities, while some client and admin component details are unsampled, so those links reflect documented behavior rather than inspected calls.
Main entry points: Appointment.php Appointments · Order.php Orders · DeliveryContext.php Delivery coordination · Product.php Products
Components 21
Client experience
- Appointment booking
app/Livewire/Client/Index.php - Product catalog
app/Livewire/Client/Product/Index.php - Product details
app/Livewire/Client/Product/Show.php - Purchase result
app/Livewire/Client/ThankYou.php
Admin operations
- Operations dashboard
app/Livewire/Admin/Index.php - Appointment stages
app/Livewire/Admin/Appointment - Appointment detail
app/Livewire/Admin/Appointment/Detail.php - Appointment schedule
app/Livewire/Admin/Appointment/Program.php - Product management
app/Livewire/Admin/Product - Category management
app/Livewire/Admin/Category - Order management
app/Livewire/Admin/Order/Index.php
Business data
- Appointments
app/Models/Appointment.php - Appointment statuses
app/Models/Status.php - Products
app/Models/Product.php - Orders
app/Models/Order.php - Search scope
app/Traits/Search.php
Delivery integration
- Delivery coordination
app/Services/DeliveryContext.php - Zrexpress API
app/Apis/ZrexpressDeliveryApi.php
Other components
- Client
- Zrexpress
- MySQL database
Connections 23
- Client → Appointment booking: books appointment
- Client → Product catalog: browses products
- Client → Product details: purchases products
- Client → Purchase result: tracks request
- Appointment booking → Appointments: creates records
- Product catalog → Products: shows catalog
- Product details → Orders: creates orders
- Operations dashboard → Appointments: summarizes
app/Livewire/Admin/Index.php - Operations dashboard → Orders: summarizes
app/Livewire/Admin/Index.php - Appointment stages → Appointments: queries stages
app/Livewire/Admin/Appointment/Validated.php - Appointment detail → Appointments: updates details
app/Livewire/Admin/Appointment/Detail.php - Appointment schedule → Appointments: queries schedule
app/Livewire/Admin/Appointment/Program.php - Appointments → Appointment statuses: relates statuses
app/Models/Appointment.php - Appointment stages → Search scope: uses search
app/Livewire/Admin/Appointment/Validated.php - Product management → Products: manages products
- Category management → Products: organizes products
- Order management → Orders: manages orders
app/Livewire/Admin/Order/Index.php - Order management → Delivery coordination: dispatches delivery
app/Livewire/Admin/Order/Index.php - Delivery coordination → Zrexpress API: selects provider
app/Services/DeliveryContext.php - Zrexpress API → Zrexpress: calls service
- Delivery coordination → Orders: updates tracking
app/Services/DeliveryContext.php - Appointments → MySQL database: persists data
- Orders → MySQL database: persists data