Skip to content
Mohammad Rahal

Case study · Inventory & POS platform

Bitar Store

A multi-branch inventory and sales platform for a fashion business with a warehouse and three branches. In a 3-person team, I led the front end, designed the interface, and built it in Next.js and TypeScript.

My role
Front end lead (3 person team): all visual design and the entire Next.js & TypeScript front end
Stack
  • Next.js
  • TypeScript
Bitar Store overview dashboard in dark mode, with revenue, sales, low stock, and out of stock cards above a revenue by day chart

The problem

Bitar is a fashion business with a main warehouse and three branches selling men’s, women’s, and kids’ clothing. Stock, transfers, and sales were tracked by hand, so it was hard to know what each location really held, what was reserved, and what was on its way.

What the platform does

  • Tracks stock per variant (model, color, size) at every location, with five separate balances: on hand, reserved, on hold, available, and in transit.
  • Handles transfers between locations with approval, dispatch, and receipt, including partial deliveries.
  • Runs retail point of sale with cash, Whish Money, or split payments, plus branch cash sessions with counted handovers.
  • Manages social media orders, customer returns and refunds, supplier deliveries, and branch restock requests.
  • Uses three roles (Admin, Business Manager, Employee) with permissions that can be granted per person and per location.
Bitar Store warehouse screen with five balance cards (on hand, reserved, on hold, available, in transit) above the variants inventory ledger and transfers activity
The warehouse screen: five balances per variant, with transfers next to the inventory ledger.

My role

We were a three person team, and I served as the front end lead. I created the entire visual direction and UI design from scratch, working directly from written business rules rather than pre made mockups, and built the whole front end in Next.js and TypeScript. I turned those rules into UI behavior: blocking a sale when stock is short and showing the available quantity, keeping manager only actions hidden from employees, and stopping double clicks from creating duplicate sales. I built against the real API for auth, branches, catalog, and POS sales, and used a local ledger for transfers, invoices, and replenishment while the backend caught up.

Bitar Store account screen showing an Admin profile with owner access, its scope across all boutiques and the warehouse, and permission cards for discounts, stock, financial reports, and employee administration
The account screen: role, location scope, and the permissions granted to one person.

Key decisions

Stock as separate balances
Showing five numbers per variant avoids the usual confusion of “we have 8 but only 6 can be sold”.
Building ahead of the backend
The local ledger let me test the full transfer and return flows early, then swap to the API.
Auditing against the spec
I wrote a rule by rule checklist (65 rules, 14 worked examples) and checked the UI against it.
Design
Playfair Display for headings and Inter for the interface, on a muted dark palette with a single gold accent, to stay away from the generic dashboard look.

Challenges

  • Business rules changed between documents, Whish payment verification for example, so I tracked which document took precedence.
  • Showing in transit and reserved stock clearly without cluttering the screen.

More case studies

All work
Gen D Rights English homepage with the headline “Empowering Youth to Defend Their Digital Rights” next to a red illustration of the MENA region

Bilingual Next.js platform

Gen D Rights

A bilingual English/Arabic platform for a youth digital rights nonprofit in the MENA region, built solo in Next.js with both languages planned from day one.

  • Next.js
  • Node.js
  • Supabase
  • Cloudflare
Kimantra Spa homepage with a gold logo, main navigation, and the headline “Enhance Your Wellness Journey in Lebanon” over a treatment room photo

Custom WordPress theme

Kimantra Spa

A custom WordPress theme for a wellness spa in Lebanon, written from scratch in PHP and Tailwind CSS and shipped in about a week.

  • WordPress
  • PHP
  • Tailwind CSS