How mohammedsamisagheer-code/fixflow works
This is a Laravel API for shop and repair management, with customer records, repair tracking, shop administration, user authentication, and plan-based subscriptions. Shop users authenticate, manage their shop and customers, create and advance repairs, and can view shop statistics; account registration assigns a free-trial subscription. Controllers own calls to the sampled services, while Eloquent models represent persisted domain data. The tree also shows queued SMS components and provider implementations, but their wiring was not sampled, so those links remain uncertain.
Main entry points: api.php API routes · Models Domain models · AuthController.php Authentication · CustomerController.php Customer API
Components 18
API and access
- API routes
routes/api.php - Authentication
app/Http/Controllers/AuthController.php - Access middleware
app/Http/Middleware
Shop operations
- Customer API
app/Http/Controllers/Api/V1/CustomerController.php - Customer service
app/Services/CustomerService.php - Repair API
app/Http/Controllers/Api/V1/RepairController.php - Repair service
app/Services/RepairService.php - Shop API
app/Http/Controllers/Api/V1/ShopController.php - Shop service
app/Services/ShopService.php
Plans and subscriptions
- Plan API
app/Http/Controllers/Api/V1/PlanController.php - Subscription API
app/Http/Controllers/Api/V1/SubscriptionController.php - Subscription service
app/Services/SubscriptionService.php
SMS messaging
- SMS job
app/Jobs/SendSmsJob.php - SMS contract
app/Contracts/SmsServiceInterface.php - SMS providers
app/Services
Domain data
- Domain models
app/Models - Relational database
Other components
- API client
Connections 22
- API client → API routes: sends requests
- API routes → Authentication: dispatches
- API routes → Customer API: dispatches
- API routes → Repair API: dispatches
- API routes → Shop API: dispatches
- API routes → Plan API: dispatches
- API routes → Subscription API: dispatches
- Authentication → Subscription service: assigns trial
- Customer API → Customer service: calls on delete
- Repair API → Repair service: calls
- Shop API → Shop service: calls
- Subscription API → Subscription service: calls
- Authentication → Domain models: reads and writes
- Customer API → Domain models: reads and writes
- Repair API → Domain models: reads and writes
- Shop API → Domain models: reads and writes
- Plan API → Domain models: reads
- Subscription service → Domain models: updates records
- Domain models → Relational database: persists data
- API routes → Access middleware: applies middleware
- SMS job → SMS contract: uses contract
- SMS providers → SMS contract: implements contract