How vineet0203/trakjobs-backend works
This is a Laravel field-service operations backend: vendor teams manage clients and employees, quote work, schedule and dispatch jobs, and handle invoices, customer access, messaging, reporting, and AI-assisted quoting. The central evidenced path is API job management through JobController and its job services into the Job model; the README is generic Laravel boilerplate and does not document these product capabilities. Other branches are represented from the repository tree, with unverified links omitted.
Main entry points: api.php API routes · Job.php Job records · QuoteController.php Quotes · JobController.php Job API
Components 30
Accounts and access
- Authentication
app/Services/Auth/AuthService.php - Vendor and accounts
app/Models/Vendor.php - Employee management
app/Services/Employee/EmployeeCreationService.php - Vendor data
app/Models/Vendor.php - Employee data
app/Models/Employee.php - User data
app/Models/User.php
Work management
- Client management
app/Services/Clients/ClientCreationService.php - Client availability
app/Services/Clients/ClientAvailabilityService.php - Quotes
app/Http/Controllers/Api/V1/Quotes/QuoteController.php - Quote operations
app/Services/Quotes/QuoteCreationService.php - Job API
app/Http/Controllers/Api/V1/Jobs/JobController.php - Job operations
app/Services/Jobs/JobCreationService.php - Job queries
app/Services/Jobs/JobQueryService.php - Job records
app/Models/Job.php - Schedule dispatch
app/Services/Dispatch/ScheduleDispatchService.php - Scheduling
app/Http/Controllers/Api/V1/Schedule/ScheduleController.php - Bookings
app/Http/Controllers/Api/V1/Booking/BookingController.php - Client data
app/Models/Client.php - Quote data
app/Models/Quote.php
Customer operations
- Invoicing
app/Http/Controllers/Api/V1/Invoices/InvoiceController.php - Customer operations
app/Http/Controllers/Api/V1/Customer/CustomerController.php - Messaging
app/Http/Controllers/Api/MessageController.php - Invoice data
app/Models/Invoice.php
Platform services
- Notifications
app/Services/Notification/NotificationService.php - Reports
app/Http/Controllers/Api/V1/Reports/ReportsController.php - AI quoting
app/Http/Controllers/Api/V1/AI/AIQuoteController.php - Request analytics
app/Services/RequestAnalyticsService.php - API response layer
app/Http/Controllers/Api/V1/BaseController.php
Other components
- Operations user
- API routes
routes/api.php
Connections 25
- Operations user → API routes: sends requests
- API routes → Job API: routes requests
- API routes → Quotes: routes requests
- API routes → Authentication: routes requests
- Job API → Job operations: calls operations
app/Http/Controllers/Api/V1/Jobs/JobController.php - Job API → Job queries: queries jobs
app/Http/Controllers/Api/V1/Jobs/JobController.php - Job operations → Job records: creates jobs
- Job queries → Job records: queries records
app/Services/Jobs/JobQueryService.php - Quotes → Quote operations: calls operations
app/Http/Controllers/Api/V1/Quotes/QuoteController.php - Quote operations → Quote data: writes quotes
- Quotes → Job operations: converts accepted quotes
app/Http/Controllers/Api/V1/Quotes/QuoteController.php - Job records → Quote data: reads quote
app/Models/Job.php - Client availability → Client data: uses client schedules
- Client management → Client data: manages client data
- Employee management → Employee data: manages employees
- Authentication → User data: authenticates users
app/Services/Auth/AuthService.php - Schedule dispatch → Scheduling: dispatches schedules
- Bookings → Job records: creates work
- Invoicing → Invoice data: manages invoices
- Customer operations → Invoicing: supports invoice access
- Messaging → Notifications: notifies recipients
- Reports → Job records: reads job records
app/Http/Controllers/Api/V1/Reports/ReportsController.php - AI quoting → Operations user: returns quote assistance
- API response layer → API routes: formats responses
- Vendor and accounts → Vendor data: represents vendors
app/Models/Vendor.php