How rasyiqecu/audrive-workshop works
AUDrive is a dealership and automotive workshop management application built with Laravel, with a Python/FastAPI microservice for engine-sound diagnostics. Customers can book workshop service, while workshop staff review bookings and manage repair work; diagnostic scans produce AI results that can be reviewed by a mechanic. The product also includes a car marketplace, spare-parts commerce, and dealership operations. The graph preserves these major capabilities, but source excerpts for most modules were unavailable, so many subsystem connections are intentionally omitted.
Main entry points: ServiceBookingController.php Booking requests · ServiceBooking.php Service booking · main.py Diagnostic API · Customer.php Customer records
Components 23
Workshop service
- Booking requests
app/Http/Controllers/Workshop/ServiceBookingController.php - Booking service
app/Services/ServiceBookingService.php - Service booking
app/Models/ServiceBooking.php - Customer vehicle
app/Models/CustomerVehicle.php - Repair work order
app/Models/WorkOrder.php
AI diagnostics
- AI scan entry
app/Http/Controllers/Customer/AiScanController.php - Scan review
app/Http/Controllers/Admin/AiScanReviewController.php - Scan record
app/Models/AiScan.php - Diagnostic API
ai-service/main.py - Audio preprocessing
ai-service/app/preprocessor.py - Sound prediction
ai-service/app/predictor.py - Model loading
ai-service/app/loader.py
Marketplace commerce
- Car marketplace
app/Http/Controllers/Marketplace/CarListingController.php - Car inventory
app/Models/CarUnit.php - Parts catalog
app/Http/Controllers/SparePart/CatalogController.php - Parts service
app/Services/SparePartService.php - Sales orders
app/Models/SalesOrder.php
Dealership operations
- Admin operations
app/Http/Controllers/Admin
Shared platform
- Notifications
app/Services/Notification/NotificationService.php - Customer records
app/Models/Customer.php - User accounts
app/Models/User.php
Other components
- Customer
- Workshop staff
Connections 19
- Customer → Booking requests: requests service
app/Http/Controllers/Workshop/ServiceBookingController.php - Booking requests → Booking service: delegates booking
app/Http/Controllers/Workshop/ServiceBookingController.php - Booking requests → Service booking: reads and creates
app/Http/Controllers/Workshop/ServiceBookingController.php - Booking requests → Customer vehicle: loads vehicle
app/Http/Controllers/Workshop/ServiceBookingController.php - Service booking → Repair work order: has work order
app/Models/ServiceBooking.php - Service booking → Customer vehicle: belongs to
app/Models/ServiceBooking.php - Customer → AI scan entry: submits scan
- AI scan entry → Diagnostic API: requests diagnosis
- Diagnostic API → Audio preprocessing: preprocesses audio
ai-service/main.py - Diagnostic API → Sound prediction: predicts sound
ai-service/main.py - Sound prediction → Model loading: uses model
ai-service/app/predictor.py - Workshop staff → Scan review: reviews diagnosis
app/Http/Controllers/Admin/AiScanReviewController.php - Scan review → Scan record: updates review
app/Http/Controllers/Admin/AiScanReviewController.php - Car marketplace → Car inventory: queries listings
app/Http/Controllers/Marketplace/CarListingController.php - Parts catalog → Parts service: delegates catalog
app/Http/Controllers/SparePart/CatalogController.php - Parts catalog → Customer records: uses customer
- Notifications → User accounts: selects recipients
app/Services/Notification/NotificationService.php - Notifications → Customer records: notifies customer
app/Services/Notification/NotificationService.php - Customer records → Customer vehicle: owns vehicles
app/Models/Customer.php