How awadanthony33-collab/siad-pest-control-portfolio works
SIAD Pest Control is an offline-first field-service app for technicians. Technicians review appointments, check in with visit and vehicle details, record job-order work and rodent-station changes, and check out; the app persists work locally and synchronizes it with the company API and SQL Server. The README documents the mobile layers and sync behavior, while sampled API controllers show appointment, job-order, and client-location operations. Mobile implementation files were not included in the supplied tree, so those nodes use README-listed paths; API relationships are limited to documented or excerpted behavior.
Main entry points: data Repositories · sync_service.dart Sync service · api_client.dart HTTP client · HelpController.cs Help controller
Components 24
Technician app
- Field screens
mobile-app/lib/screens - Appointments
mobile-app/lib/screens/Appointment - Check-in
mobile-app/lib/screens/check_in - Job order
mobile-app/lib/screens/job_order - Client location
mobile-app/lib/screens/client_location
Offline data
- Repositories
mobile-app/lib/data - SQLite and outbox
mobile-app/lib/data/local_db.dart - Sync service
mobile-app/lib/data/sync_service.dart - Connection monitor
mobile-app/lib/data/connection_monitor.dart - HTTP client
mobile-app/lib/data/api_client.dart
Service API
- Web API
api/Pestcontrolapi/Controllers - Authentication
api/Pestcontrolapi/Controllers/AuthController.cs - Appointments API
api/Pestcontrolapi/Controllers/AppointmentsController.cs - Cars API
api/Pestcontrolapi/Controllers/CarsController.cs - Job orders API
api/Pestcontrolapi/Controllers/JobOrdersController.cs - Client locations API
api/Pestcontrolapi/Controllers/ClientLocationsController.cs - Lookup APIs
api/Pestcontrolapi/Controllers/LookupController.cs - Transaction session
api/Pestcontrolapi/Data/DbSession.cs
API help
- Help controller
api/Pestcontrolapi/Areas/HelpPage/Controllers/HelpController.cs - Model descriptions
api/Pestcontrolapi/Areas/HelpPage/ModelDescriptions/ModelDescriptionGenerator.cs - API samples
api/Pestcontrolapi/Areas/HelpPage/SampleGeneration/HelpPageSampleGenerator.cs
Other components
- Technician
- SQL Server
- Office website
Connections 22
- Technician → Field screens: uses
- Field screens → Repositories: invokes
- Appointments → Repositories: loads appointments
- Check-in → Repositories: saves visit
- Job order → Repositories: saves work
- Client location → Repositories: saves position
- Repositories → SQLite and outbox: writes locally
- Repositories → HTTP client: calls
- Sync service → SQLite and outbox: reads outbox
- Connection monitor → Sync service: triggers sync
- Sync service → HTTP client: sends pending changes
- HTTP client → Web API: HTTPS JSON
- Web API → SQL Server: reads and writes
- Office website → SQL Server: uses shared database
- Appointments API → SQL Server: queries appointments
api/Pestcontrolapi/Controllers/AppointmentsController.cs - Cars API → SQL Server: queries vehicles
api/Pestcontrolapi/Controllers/CarsController.cs - Client locations API → SQL Server: reads and updates locations
api/Pestcontrolapi/Controllers/ClientLocationsController.cs - Job orders API → Transaction session: uses transaction
api/Pestcontrolapi/Controllers/JobOrdersController.cs - Transaction session → SQL Server: executes transaction
api/Pestcontrolapi/Data/DbSession.cs - Lookup APIs → SQL Server: queries lookup data
- Help controller → Model descriptions: gets descriptions
api/Pestcontrolapi/Areas/HelpPage/Controllers/HelpController.cs - Help controller → API samples: serves API help