Skip to content
LiveCase study

Gasflow

Business management software for LPG distributors and retailers in Pakistan: sales, purchases, stock, cylinders and reporting.

Type
Product I founded
Sector
B2B SaaS · LPG distribution
My role
Founder and lead engineer: product scope, architecture, backend, web apps and deployment.
Stack
Next.jsNode.jsPostgreSQLDocker
Visit gasflow.pk

01

Problem and opportunity

LPG distributors ran sales, stock and cylinder records on paper, which makes it hard to know what is in stock, who owes what and which cylinders are where.

02

Who it is for

LPG distributors and retail shops, from a single outlet to multi-branch operators.

03

Solution

A multi-tenant platform covering customers, suppliers, sales, purchases, expenses, stock and reports, with cylinder-asset tracking and delivery planning on the roadmap.

04

Key features

  • Customers, suppliers and expenses
  • Sales, purchases and stock
  • Reports
  • Cylinder registry
  • Per-branch subscription billing

05

Architecture and key decisions

  1. 01

    A customer app and an admin app on one API

    Different audiences and workflows, with the business logic kept in a single backend.

  2. 02

    Plan-per-branch subscriptions

    Businesses can run different tiers on different branches, so limits follow each branch's own plan.

  3. 03

    Backend organised by business domain

    Sales, purchases and stock map directly to how distributors think, which keeps the code easy to extend.

06

Challenges and trade-offs

  1. 01

    Re-architecting pricing from one plan per organisation to one per branch

    Every limit check had to be rewritten to resolve the correct branch subscription.

07

Business model

Subscription tiers (Free, Retail, Retail + Delivery, Distribution and a contact-sales Enterprise tier), billed per branch with add-on seats.

08

Verified outcomes

  • In production at gasflow.pk.