Pallavan MES: Factory-floor software that keeps working when the network drops, then syncs when it returns.

keeps working offlinelivepushpullScreensReact · useLiveQueryinstant updatesIndexedDBDexiethe source of truthSync workerpushes when onlinewaits when notRolesoperatorsupervisormanagerFirestorelong-term storageevery deviceService workerreloads offline

How it's built

The device is the source of truth. The cloud catches up whenever the network comes back.

Stack

React 19, TypeScript, Vite, Tailwind · Dexie (IndexedDB), Firebase Firestore, PWA service worker, Recharts

Hard parts

Offline first

Screens read only from IndexedDB, so a dropped network never makes an operator wait.

Shift C crosses midnight

The 22:00 to 06:00 shift keeps one shift date, with after-midnight slots marked +1d.

Data that can't be wrong

Rejections can't exceed production, and stale downtime reasons clear themselves.

If I kept going

Paginated sync for very large histories, and a conflict screen instead of last write wins.

Project
Pallavan MES
Drawn by
Arunan K.
Year
2026
Scale
Not to scale
Sheet
08 / 08

08 / 08 · Personal · 2026

Factory-floor software that keeps working when the network drops, then syncs when it returns.

Role
Solo project
Built with
React, IndexedDB, Firebase
Status
Complete

Visit site ↗

Walkthrough coming soon