Back to projects

Stockroom Desk

I built a web app that helps warehouse teams see what stock they can promise to customers, reserve it for orders and follow each order through to dispatch.

Fictional distributor
Meridian Supply Co.
Warehouse locations
Ikeja Main · Lekki Hub
Sample dataset
2,401 seeded orders

The problem

How much stock can we promise?

A shelf count includes stock already set aside for other orders. Stockroom Desk shows the balance by product and location so an operator can see how much is free to sell before confirming an order.

Ikeja Main · Still water 750 ml

Available = on hand − reserved

On hand
12
Reserved
8
Available
4

A new order for six cartons would wait for stock.

Order fulfilment

From shortage to dispatch

Follow six cartons of still water ordered by Maple Corner Stores at Ikeja Main. The stock balance changes as the operator receives, reserves and dispatches the cartons.

01 · Orders

Find out what is holding up an order

The order queue shows status, promised date and value. Opening a waiting order shows the product and quantity still needed.

Orders list with promised dates, order values and status filters
Search the queue and filter waiting, reserved, dispatched, cancelled or overdue orders.
Riverstone Retail order showing six boxes of hibiscus tea ordered and one available
A separate Riverstone Retail order shows a hibiscus tea shortage of five boxes.

02 · Reserve and dispatch

Set aside the cartons before they leave

Maple Corner Stores orders six cartons when only four are available. After a receipt of 12, the operator reserves six for SO-02402 and confirms dispatch.

Dispatched order SO-02402 with six cartons of still water and timestamped history
The order records when it was created, reserved and dispatched.

03 · Inventory and activity

Check the balance and trace the changes

Dispatch reduces on-hand and reserved stock by six cartons each. The available balance stays at ten because those cartons had already been set aside.

BW-750-24 at Ikeja Main · Quantities in cartons
StepOn handReservedAvailable
Order waiting for stock1284
Receive 12 cartons24816
Reserve 6 cartons241410
Dispatch 6 cartons18810
Inventory for BW-750-24 showing 18 on hand, eight reserved and ten available at Ikeja Main
Inventory shows what is still on the shelf and what is free to sell.
Activity log for BW-750-24 showing the receipt, reservation and dispatch
Activity links receipt GRN-1028 and order SO-02402 to the quantities changed.

Database verification

The app and PostgreSQL agree

In pgAdmin, I queried the same SKU and location. The result matched the Inventory screen at 18 on hand, eight reserved and ten available.

The React and TypeScript interface talks to an Express API. PostgreSQL calculates available stock. During reservation, the workflow locks the inventory rows so two orders cannot reserve the same cartons.

  • React
  • TypeScript
  • Express
  • PostgreSQL
pgAdmin query of stockroom.stock_levels returning the same balance as Inventory
The read-only query verifies the balance after dispatch.

Responsive layout

Check the queue from a phone

On mobile, the overview keeps the dispatch queue and quick actions close at hand. Bottom navigation links to Orders, Inventory and Activity.

Stockroom Desk mobile overview with order and receipt buttons and bottom navigation
Overview on a narrow screen.