Logistics / Field App

CylinQ, Gas Cylinder Tracking

A QR label on every gas cylinder, a scan-first app for the delivery staff, and a live sales map for the owner. Flutter and Firebase, designed to cost nothing to run.

  • QR labels: generate serials and print A4 sticker sheets or thermal labels; any phone camera opens that cylinder’s page
  • Scan every move: fill, load, deliver, collect empty and return, each stored as an immutable event, so every cylinder has a full history
  • Deliveries with GPS: pick the customer, scan the full cylinders handed over and the empties taken back; the price fills in and the location is saved
FlutterDartFirebase AuthCloud FirestoreRiverpodgo_router+4
www
Web app — CylinQ, Logistics / Field App built with Flutter and Dart by Ayan Parvaiz
CylinQ · 2026

Project Overview

CylinQ gives an LPG distributor a QR label on every cylinder, a phone app the delivery staff scan with, and a live dashboard that shows the owner what sold, where, and where each cylinder is right now. Paper registers could not answer the basic questions: which areas buy the most, how many cylinders are at the godown, on vans or with customers today, and which customers have held cylinders for a month without reordering. The budget was small, so the whole system was designed from the start to stay inside Firebase’s free Spark plan.

Requirements & Features

  • QR labels: generate serials and print A4 sticker sheets or thermal labels; any phone camera opens that cylinder’s page
  • Scan every move: fill, load, deliver, collect empty and return, each stored as an immutable event, so every cylinder has a full history
  • Deliveries with GPS: pick the customer, scan the full cylinders handed over and the empties taken back; the price fills in and the location is saved
  • Owner dashboard: revenue, cylinders sold, sales by area, a daily trend and a delivery heatmap on OpenStreetMap
  • Live stock by location, and an overdue list of cylinders a customer has held for more than 30 days
  • Staff logins with roles, which the owner can switch off instantly
  • Works offline: scans and deliveries save on the phone and sync when the signal returns

Challenges I Solved

  • Zero running cost: Cloud Functions, Storage and Google Maps all need billing, so none are used. Firestore security rules do the server’s job, and maps come from OpenStreetMap
  • Rules that make every write prove itself: a cylinder changes state only together with a new event in the same batch, checked with getAfter() and request.time so an old event cannot be replayed
  • A month of analytics in about 30 reads: each delivery also increments a daily summary with totals per area and a count per ~1 km geohash cell for the heatmap
  • Staff logins without an admin backend: a throwaway second Firebase app creates the user, leaving the owner’s own session untouched
  • Firestore rules read at most 20 documents per batch, so large scans are split into batches of 15, and a rules test proves a 16-cylinder delivery passes

What I Delivered

Solo, end to end: product design, UI, the Flutter app for Android and web, the Firebase data model and security rules, testing and deployment.

Results

  • Live at cylinq.web.app, running at no monthly cost on the Firebase Spark plan
  • 24 security-rules tests in CI, one of them replaying a full day of the app’s real writes
  • Tested end to end on the live site with headless Chrome and a fake camera feed of a printed label

Technology Stack

FlutterDartFirebase AuthCloud FirestoreRiverpodgo_routerflutter_mapOpenStreetMapmobile_scannerfl_chart
Client
LPG distributor
Completed
2026
Platform
Android + web · Flutter
Duration
October 2026

Want something like CylinQ?

I scope in 48 hours and ship in weeks — not quarters. Tell me what you're building.

More case studies