How swathipoojary11/fixibly-project works
Fixibly is a home-services booking and field-operations product: customers select services, place and track bookings, dispatchers manage assignment and status, technicians fulfill jobs, and administrators oversee users, performance, activity, and revenue. The tree contains a Next.js frontend and two parallel Express backends (JavaScript and TypeScript); the graph emphasizes the TypeScript backend’s documented route flow and the frontend’s distinct role workspaces. Source excerpts establish customer booking persistence and dispatcher notifications/audit; unsampled UI/API wiring is shown only where the evidence supports it.
Main entry points: server.ts API server · customerController.ts Customer workflows · dispatcherController.ts Dispatch operations · supabase.js Supabase database
Components 23
Role workspaces
- Customer portal
fixibly/app/customer/booking/page.js - Dispatcher workspace
fixibly/app/dispatcher/DispatcherApp/page.js - Technician workspace
fixibly/app/technician/dashboard/page.js - Admin workspace
fixibly/app/admin/AdminApp/page.js - Authentication context
fixibly/app/context/AuthContext.js
TypeScript API
- API server
typescript-backend/src/server.ts - Customer routes
typescript-backend/src/routes/customerRoutes.ts - Dispatcher routes
typescript-backend/src/routes/dispatcherRoutes.ts - Technician routes
typescript-backend/src/routes/technicianRoutes.ts - Admin routes
typescript-backend/src/routes/adminRoutes.ts
Operations services
- Customer workflows
typescript-backend/src/controllers/customerController.ts - Dispatch operations
typescript-backend/src/controllers/dispatcherController.ts - Technician jobs
typescript-backend/src/controllers/technicianController.ts - Admin analytics
typescript-backend/src/controllers/adminController.ts - Booking service
typescript-backend/src/services/bookingService.ts - Technician service
typescript-backend/src/services/technicianService.ts
Data access
- Booking repository
typescript-backend/src/repositories/bookingRepository.ts - Service repository
typescript-backend/src/repositories/serviceRepository.ts - Supabase database
BACKEND/src/config/supabase.js
Other components
- Customer
- Dispatcher
- Technician
- Administrator
Connections 26
- API server → Customer routes: mounts
typescript-backend/src/server.ts - API server → Dispatcher routes: mounts
typescript-backend/src/server.ts - API server → Technician routes: mounts
typescript-backend/src/server.ts - API server → Admin routes: mounts
typescript-backend/src/server.ts - Customer routes → Customer workflows: routes requests
typescript-backend/src/routes/customerRoutes.ts - Dispatcher routes → Dispatch operations: routes requests
typescript-backend/src/routes/dispatcherRoutes.ts - Technician routes → Technician jobs: routes requests
typescript-backend/src/routes/technicianRoutes.ts - Admin routes → Admin analytics: routes requests
typescript-backend/src/routes/adminRoutes.ts - Customer workflows → Booking service: uses
typescript-backend/src/controllers/customerController.ts - Customer workflows → Booking repository: uses
typescript-backend/src/controllers/customerController.ts - Customer workflows → Service repository: uses
typescript-backend/src/controllers/customerController.ts - Dispatch operations → Supabase database: reads/writes
typescript-backend/src/controllers/dispatcherController.ts - Dispatch operations → Supabase database: notifies via
typescript-backend/src/controllers/dispatcherController.ts - Dispatch operations → Supabase database: audits via
typescript-backend/src/controllers/dispatcherController.ts - Technician jobs → Technician service: uses
typescript-backend/src/controllers/technicianController.ts - Booking service → Booking repository: delegates to
typescript-backend/src/services/bookingService.ts - Booking service → Service repository: delegates to
typescript-backend/src/services/bookingService.ts - Booking repository → Supabase database: queries
typescript-backend/src/repositories/bookingRepository.ts - Customer → Customer portal: books and tracks
- Dispatcher → Dispatcher workspace: coordinates jobs
- Technician → Technician workspace: fulfills jobs
- Administrator → Admin workspace: monitors operations
- Customer portal → API server: API requests
- Dispatcher workspace → API server: API requests
- Technician workspace → API server: API requests
- Admin workspace → API server: API requests