How I Built a QR-Powered ERP for Garment Factories Using React, Firebase, and a Raspberry Pi 🧵⚡

Published: (May 9, 2026 at 01:35 PM EDT)
2 min read
Source: Dev.to

Source: Dev.to

The Problem: The “Spreadsheet Chaos” of the Sewing Floor

  • Payment Disputes: “I sewed 50 sleeves, why am I paid for 40?”
  • The Black Hole: A bundle goes missing, and production stops for hours.
  • Delayed Decisions: Managers only see “yesterday’s” data, never “now.”

The Solution: A “Zero‑Install” System of Action

We built Scan ERP as a Progressive Web App (PWA) because factory environments hate App Stores. No downloads, no updates—just a QR scan and you’re in.

The Multi‑Engine QR Scanner (99% Accuracy)

Scanning on cheap, greasy $100 Android phones is hard. To hit 99 % accuracy, we didn’t rely on a single library. We built a hybrid engine combining:

  • BarcodeDetector API – native and fast.
  • jsQR – fallback for tougher cases.

This ensures that even a smudged QR code on a moving bundle gets registered reliably.

UI/UX for the Factory Floor

  • Beauty: Big buttons, high contrast, and voice notifications matter more than fancy animations on a dusty factory floor.
  • PWA is the Future of Enterprise: In 2026, the “install barrier” is the biggest killer of B2B apps. PWAs solve this.

Check out the live project here

Are you building niche ERPs or experimenting with PWA scanning? Let’s chat in the comments!

0 views
Back to Blog

Related posts

Read more »