Case study · Business software · Steel & hardware trade · 2026

Yafai Steel ERP

An offline-first ERP for a steel and hardware shop: weight-based billing, customer advances, returns, a real stock ledger, purchasing and an audit trail, all working with no internet.

Client
Yafai Steel
Based in
Parbhani, Maharashtra
Delivered
Product scoping, UX & UI design, Next.js development, Offline sync architecture
Built with
Next.js, TypeScript, IndexedDB, Supabase, Tailwind CSS, Radix UI, Vitest, Playwright
Yafai Steel ERP: a scroll through the live site

Overview

Yafai Steel is a steel and hardware shop in Parbhani, Maharashtra. Billing happens at a busy counter, material is priced by weight against the day’s rates, and customers often pay in advance and collect their material over several loads, so advances and balances have to be tracked per customer.

The problem

Generic billing software assumes a steady connection and a simple retail flow. The counter needed to keep billing when the internet dropped, serve several customers at once, price by weight against the day’s rate board, and keep stock figures honest instead of showing numbers nobody counted.

Design direction

A calm, warm interface designed for long days at the counter. The billing screen keeps three bills open at once, each with its own colour, so the operator can serve the next customer without losing a half-finished bill. Weight, rate and amount sit on one line, loading and transport charges are worked out beside the bill, and bills print in English and Marathi. Empty states are honest: the app ships with the item list and rates and nothing invented, so every figure on the dashboard is one the shop entered.

Development

Built with Next.js as a static export, so there is no server to go down. The books live on the counter computer in the browser’s IndexedDB, one record per bill, customer and stock movement, and every screen works offline. When connected to Supabase, each change is queued in a durable outbox and synced to Postgres when a connection is available, and the app never reports a change as saved to the cloud before the server confirms it. Business logic is covered by a Vitest suite, with Playwright tests running against the production build.

Highlights

  • Three colour-coded bills open at once on the billing counter
  • Weight-and-rate pricing from the day’s rate board
  • Customer advances, returns and running balances
  • Stock ledger, purchasing, reports and an audit trail
  • Bilingual English and Marathi bills
  • Offline-first storage with outbox sync to Supabase

The takeaway

For software people use all day, reliability is the design. The best screen is the one that still works when the internet does not.