Delivered remotely for a business based in Denver, United States. Names withheld by agreement.
Project Overview
Building and residential property inspections live or die on documentation precision. A field inspector moves rapidly from roof flashing to electrical subpanels to crawlspace joists, capturing hundreds of high-resolution photographs, thermal readings, and condition ratings. Historically, the physical walkthrough represented only half the workday; the remaining hours went to manually sorting photos on a laptop, copying boilerplate defect paragraphs, drawing arrows on images, and formatting multi-megabyte PDFs late at night.
We architected a cohesive inspection platform uniting an offline-resilient React Native mobile app, a Laravel backend powered by MySQL and MariaDB, an interactive React and TypeScript web review studio, and Blade-rendered customer portals. By pairing structured field capture with an asynchronous AI defect-drafting pipeline, inspectors turn raw on-site observations into polished, defensible engineering reports with a fraction of the manual desk assembly.
Operational Bottlenecks
Inspection teams scaling across commercial and residential portfolios repeatedly hit four structural walls:
- Post-walkthrough reporting backlog: Writing consistent, liability-safe explanations for recurring findings—such as double-tapped breakers, missing kick-out flashing, or active moisture intrusion—bottlenecked report delivery.
- Brittle offline synchronization: Multi-story mechanical rooms and rural properties regularly severed cellular sessions mid-upload, corrupting image-to-section mappings or forcing inspectors to re-shoot rooms.
- Template sprawl: Maintaining separate checklist layouts for pre-purchase residential, four-point insurance, and commercial property condition assessments created schema chaos in legacy spreadsheets.
- Static PDF friction: Buyers and asset managers struggled to filter urgent safety hazards from routine maintenance items inside monolithic hundred-page PDF attachments.
Architectural Strategy
We designed the platform around structured capture first, AI augmentation second, and human sign-off always. Instead of forcing inspectors to converse with a chatbot while balancing on a ladder, the React Native app streamlines one-handed photo capture, vector arrow/circle annotation, and voice-note attachment directly inside hierarchical room nodes.
Once images and raw notes land in Laravel, asynchronous queue workers invoke vision and language services to propose defect categories, severity tiers, and standards-compliant narrative drafts. Because every draft remains linked to its source photo and inspector note, human reviewers retain complete editorial authority in either the mobile app or the React TypeScript desktop workbench.
Core Capabilities
- Dynamic Multi-Industry Checklist Engine: Nested systems, components, and condition matrices adapt automatically to residential, multi-family, or commercial inspection scopes.
- Non-Destructive Photo Markup & Voice Capture: Vector annotations (arrows, bounding circles, text callouts) store separately from original high-resolution photographs so edits remain reversible.
- Vision-Assisted Defect Classification: Uploaded defect photos trigger queued AI tagging that recommends component labels, condition ratings, and editable explanation drafts aligned with the firm's style guide.
- Desktop QA & Batch Editing Studio: Senior reviewers inspect AI drafts side-by-side with source photos in React, apply bulk severity filters, and reorder report sections effortlessly.
- Interactive Blade Repair-Request Portals: Clients receive a fast, mobile-friendly Blade web report with priority filters alongside a deterministic downloadable PDF archive.
Technical Architecture
Field inspections synchronize incrementally over a resilient REST boundary between React Native and Laravel. Local state on the device persists inspection trees and media pointers so network loss never stalls fieldwork; once connected, a background upload coordinator streams compressed assets and JSON deltas to Laravel. Queued workers in PHP then handle derivative thumbnails, AI analysis calls, and final PDF compilation against MySQL/MariaDB tables.
Flow: React Native Capture (Offline Queue + Vector Markup) → Laravel REST API (Idempotent Sync) → MySQL / MariaDB Persistence → Queued PHP Workers (Image Optimization + AI Drafting) → React TypeScript QA Studio → Laravel Blade Client Portal & PDF Output
Database schemas across MySQL and MariaDB deployments enforce strict foreign-key lineage between an inspection's frozen template version, individual component observations, media assets, and AI provenance metadata. Separating vector callouts and AI suggestions into dedicated child tables keeps core inspection queries lean while preserving an auditable trail of what the model suggested versus what the licensed inspector approved.
Technology Stack
| Category | Technology detail |
|---|---|
| Backend Framework | Laravel (PHP 8.x REST API, queued workers, report compiler) |
| Mobile Field App | React Native (cross-platform iOS and Android photo/checklist capture) |
| Web QA Workbench | React SPA with TypeScript for narrative editing and template admin |
| Client Report Portal | Laravel Blade server-rendered interactive summary and PDF views |
| Relational Databases | MySQL and MariaDB for inspection graphs, templates, and audit logs |
| AI Inference Pipeline | Queued vision and LLM drafting jobs via external model APIs |
| Media & Markup Layer | Canvas-based photo callout annotations and compressed image storage |
| Background Processing | Laravel Queue workers handling photo optimization, AI tagging, and PDFs |
| Type Safety | TypeScript across mobile capture state and React web editor |
Engineering Trade-offs & Solutions
| Engineering Challenge | Solution & Trade-off |
|---|---|
| Unreliable AI output could introduce inaccurate building-code claims | Constrained AI prompts with firm-approved defect libraries and surfaced outputs strictly as unapproved suggestions; requires explicit human confirmation rather than zero-touch publishing. |
| Mixing React SPA and Blade templates increases frontend surface area | Reserved React + TypeScript strictly for high-interactivity office editing while keeping client-facing reports in lightweight Blade templates for instant load times and clean print CSS. |
| Large inspections with hundreds of raw photos choke mobile cellular links | Resized upload derivatives on-device before transfer while retaining full-resolution originals locally for optional Wi-Fi backup, trading negligible cloud pixel excess for rapid field sync. |
| Supporting both MySQL and MariaDB across client-hosted and cloud environments | Standardized migrations and JSON column queries on SQL subsets compatible with both engines, avoiding vendor-specific optimizer hints or proprietary spatial syntax. |
Security & Reliability
Property inspection records frequently contain sensitive gate codes, occupancy schedules, and financial negotiation details. API authentication issues scoped bearer tokens per device with automatic revocation when an inspector leaves a firm. Media assets sit behind signed, short-lived URLs rather than public bucket paths.
To safeguard against data loss if a phone battery dies mid-inspection, the React Native client commits every checklist toggle and voice transcript to local storage immediately upon entry. Server-side uploads run idempotently using client-generated UUIDs, ensuring flaky elevator or basement handoffs never duplicate defects or overwrite newer QA edits made by office staff.
Performance & Scale
Inspectors expect camera shutters and checklist transitions to feel instantaneous even on multi-hundred-item commercial walkthroughs. The mobile UI virtualizes long component lists and defers heavy EXIF stripping and thumbnail generation to background threads.
On the server, offloading AI inference, image watermarking, and PDF rendering onto dedicated Laravel Queue workers prevents long-running jobs from starving interactive API requests. React workbench views fetch paginated observation blocks keyed by section ID, keeping browser memory predictable during intense QA review sessions.
Operational Outcomes
Consolidating capture, AI-assisted drafting, QA sign-off, and client delivery into one coherent platform reshaped inspection workflows:
- Same-day report turnaround: Eliminating late-night manual photo sorting and repetitive defect typing enables inspectors to finalize and publish thorough reports shortly after leaving the site.
- Consistent narrative quality: Firm-wide style rules embedded in AI drafts help newer inspectors produce clear, objective findings aligned with senior reviewer expectations.
- Zero lost field evidence: Resumable offline capture and idempotent Laravel sync protect photos and annotations collected inside dead-zone mechanical spaces.
- Actionable client experience: Buyers, agents, and facility managers navigate prioritized findings cleanly in Blade portals rather than hunting through unwieldy static attachments.