TiyoouwBahasa IndonesiaStart a brief

← All work

Case study · Design + Build · 2026

Geofencing K3 Inspections

Proof-of-presence inspections for fire extinguishers and other emergency equipment at a shipyard company.

Client
A shipyard company
Role
Product design and full-stack build
Platform
Web app / PWA, phone + desktop
Status
In development, 2026
Mockup: a site plan with a dashed polygon drawn around one building, next to a phone showing the inspection form marked Inside geofence.

In short

Problem
Paper cards couldn't prove an inspector was really there.
What I did
Designed and built a QR and geofence PWA that keeps working offline.
Result
In development; sign-in now needs a third of the database round trips.

01The problem

Inspections were written on paper cards hung on each extinguisher. Cards got lost or became unreadable, nothing proved the inspector had actually stood in front of the equipment, and every monthly recap meant copying dozens of cards by hand.

02My role

I designed and built it end to end for the client: the inspection flow, the admin console, the data model, the offline sync and the PDF reports.

03What I built

  • QR sticker per asset

    Each extinguisher gets a sticker with a random token. The inspection form only opens after a scan, and sticker sheets print at exact millimetre sizes.

  • Building geofences

    Each building gets a polygon drawn on the site map. The phone's GPS position must fall inside the right building before the inspection counts.

  • Photo evidence

    Photos are taken inside the form, compressed on the device and stored with the record.

  • Findings

    A failed checklist item becomes a follow-up finding automatically, so nothing waits for the next recap.

  • Offline queue

    Inspections save to an on-device outbox and sync when signal comes back. Yards and engine rooms are not known for good reception.

  • Reports

    Monthly PDF reports, a findings recap with photos and a per-asset control card, generated on demand.

  • Three roles

    Inspector on the phone, administrator on the desktop and a read-only monitor, each with its own tint.

  1. ScanQR sticker opens the form
  2. CheckGPS inside the building's polygon
  3. InspectChecklist + photos
  4. QueueOn-device outbox
  5. SyncPostgres + Blob
  6. ReportMonthly PDF
An inspection, from sticker to report. Everything up to "Queue" works with no signal.

04Design decisions

  1. Flag, don't block

    GPS is weak inside steel buildings. A reading outside the geofence is saved and marked for review instead of rejected, so nobody has to fake a reading.

  2. Colour means role, never status

    Only the sidebar and header change colour per role. Status colours stay fixed and never use the brand amber, so a warning never looks like decoration.

  3. Built for gloves and sunlight

    Field buttons are 56 px tall with high-contrast labels, and the main action sits at the bottom of the screen.

  4. One door

    A single sign-in page detects the role and routes people to the right workspace.

  • Inspector
  • Administrator
  • Monitor
  • Inside geofence
  • Needs review
  • Defect
  • Synced
Role tints live in the chrome only. Status colours are fixed across roles and never use the brand amber.

05Stack

Front end
Next.js 16, React 19, Tailwind, shadcn/ui
Auth
Auth.js (credentials)
Data
Postgres on Neon, Drizzle ORM
Files
Vercel Blob
Offline
Service worker, IndexedDB outbox
Reports
react-pdf
Maps and scan
Leaflet, jsQR
First version
Laravel 13 + Filament 3

06Result

Sign-in
Cut from six sequential database round trips to two.

07Visuals

The landing page that introduces the system to the safety team. Client name and footage left out.
The landing page that introduces the system to the safety team. Client name and footage left out.
The daily flow, from sticker to monthly report: put up the sticker, inspect on site, follow up, report.
The daily flow, from sticker to monthly report: put up the sticker, inspect on site, follow up, report.
Inspection modules. Fire extinguishers are live; hydrants, first-aid boxes and fire trucks come next.
Inspection modules. Fire extinguishers are live; hydrants, first-aid boxes and fire trucks come next.

All screens are neutral mockups drawn for this portfolio. No client names, logos, photos or live links.

Start a brief

Pick what's easiest. I usually reply the same day.