Construction Tracking Platform — Analytico Tech Case Study
💎 Ruby on Rails

Construction Tracking & Management Platform

A field-to-office project management system built in Rails that connected crews, assets, and management dashboards — reducing reporting time by 40% and eliminating paper-based workflows entirely.

40%
Faster Reporting
0
Paper Workflows
300+
Field Users
16 wks
Delivered In
Ruby on RailsPostgreSQLElasticSearchAWS EC2AWS S3RDSDockerCapistranoRetool

Managing construction projects across 12 sites with spreadsheets

A mid-sized US construction company managing 12 concurrent sites was running operations across a patchwork of spreadsheets, WhatsApp group chats, and physical sign-in sheets. Project managers had no real-time visibility into labor hours, equipment locations, or material usage. Reports were compiled manually each Friday — a 6-hour process per site manager.

They needed a unified platform that field workers could use on-site (low connectivity included) and that gave management instant visibility into project health without requiring a change in how their crews fundamentally operated.

🔴 Core Challenges

  • 12 sites, no unified data layer
  • 6 hours/week per PM on manual reporting
  • No real-time equipment or labor tracking
  • Field workers with limited smartphone literacy
  • Intermittent connectivity on job sites
  • Compliance: time & attendance records for audits

🟢 Our Approach

  • Rails monolith with offline-capable PWA for field
  • PostgreSQL + ElasticSearch for full-text search
  • Real-time dashboards via Retool + WebSockets
  • GPS check-in/out with geofence validation
  • S3-backed photo/document upload per task
  • Automated weekly reports generated & emailed

Rails monolith with cloud-synced field layer

We chose a Rails monolith over microservices deliberately — the team had no DevOps resources, and a well-structured monolith on AWS would be far more maintainable. The field PWA syncs via a REST API with optimistic local storage, flushing to the server when connectivity restored.

System Architecture — Construction Platform
FIELD LAYER PWA App GPS · Photo · Check-in Offline Cache LocalStorage sync queue Geofence Checker GPS boundary validation Photo Upload S3-backed, compressed REST API Rails Backend Ruby on Rails 7 REST API (Devise, Pundit) ActiveJob + Sidekiq WebSockets (ActionCable) PDF Report Generator ElasticSearch Integration DATA LAYER PostgreSQL AWS RDS · Multi-AZ ElasticSearch Full-text site search AWS S3 Photos & documents Redis Sidekiq jobs / cache DASHBOARDS Retool Admin Project management UI Live Dashboard ActionCable WebSockets Email Reports Auto PDF via Sidekiq AWS CloudWatch Uptime & alerting Deployed on AWS EC2 · Capistrano · Docker containers · Multi-AZ RDS

Offline-first PWA with GPS geofencing

The most technically complex feature was the offline-capable field PWA. Construction sites often have poor connectivity, so we implemented a service worker with IndexedDB queuing — field workers can check in, log hours, and upload photos offline; everything syncs automatically once connectivity is restored, with conflict resolution handled server-side.

Geofence validation runs both client-side (for immediate UX feedback) and server-side (for audit integrity). Workers outside a 150m radius of a job site receive a prompt; admins see an exception flag in the dashboard.

LayerTechnologyPurpose
BackendRuby on Rails 7 (API mode)Core business logic, REST API
Frontend FieldProgressive Web App (Vanilla JS)Offline-capable field UI
Admin UIRetool + Rails viewsManagement dashboards
DatabasePostgreSQL on AWS RDS Multi-AZPrimary data store, HA
SearchElasticSearchFull-text search across projects, workers
StorageAWS S3 + CloudFrontPhoto/doc storage with CDN
Background JobsSidekiq + RedisReport generation, notifications
Real-timeActionCable (WebSockets)Live dashboard updates
DeploymentDocker + Capistrano + EC2Zero-downtime deploys

16 weeks to production

Weeks 1–3
Discovery & Workflow Mapping
On-site visits to 3 locations, mapped every workflow, identified offline requirements, produced full data model.
Weeks 4–6
Core Rails API & Data Layer
Built Rails API, PostgreSQL schema, authentication (Devise + role-based Pundit), AWS infrastructure setup.
Weeks 7–10
Field PWA & Offline Sync
Built service worker, IndexedDB queue, geofence validation, GPS check-in, S3 photo upload pipeline.
Weeks 11–13
Dashboards & Reports
Retool admin dashboards, WebSocket live updates, automated PDF report generation with Sidekiq.
Weeks 14–16
Pilot Site Rollout & Training
Piloted on 2 sites, gathered field feedback, iterated on UX, full 12-site rollout with on-site training.

Outcomes at 6 months post-launch

40%
Faster weekly reporting
300+
Daily active field users
0
Paper-based workflows remaining
6hrs
Weekly time saved per PM
99.7%
Uptime over 6 months
12
Sites on one unified platform

Need a platform built for real-world conditions?

We specialize in Rails platforms that work even when connectivity doesn't. Let's talk.

Book a Free Call View More Case Studies