SAATATYA LABS
Enquiry

Case study · DRS Blouse

The factory floor, on every phone.

DRS Blouse moves work through cutting, tailoring, checking and dispatch every working day. Inventory OS is the system of record for that floor, from fabric roll to dispatched box, built and run by Saatatya Labs on AWS.

Running · factory floorFastAPIPostgreSQLReact PWAAWS EC2 + S3

238

API endpoints

47

Database tables

48

Schema migrations

5

Floor roles

Station 01 · The floor

Where is that batch?

Work on a garment floor moves from cutting to tailoring to checking, and some of it loops back for rework. Before Inventory OS, that truth lived on paper challans and in phone calls. Nobody could say where a batch sat without walking the floor to find it.

Floor reality · rework loop
CUTTAILORCHECKREWORK← rework loop
Ground truth first

Station 02 · The system

Every piece scanned, every state known.

Every batch now moves through an assign, start, submit and check state machine. Each handoff is a QR scan from a phone camera, paired live with the desktop over a WebSocket. The office and the floor read the same truth in the same second.

Inventory OS · dispatch queue
In production
1,284
At checking
312
Ready
96
QRT-4127 · Silk blouse, maroonChecked
QRT-4128 · Cotton kurti, indigoStitching
QRT-4131 · Designer set, ivoryChecked
QR on every handoff

Station 03 · The architecture

One platform, many companies.

A React PWA talks to a FastAPI core on AWS. PostgreSQL keeps every company in its own schema, inventory moves as an event stream, and the DRS storefront reserves stock through a keyed external API. One platform, cleanly multi-tenant.

System map · multi-tenant
REACT PWAFASTAPI CORESTOREFRONT APIPOSTGRESQL
Schema-per-company tenancy

Station 04 · Shipping

Deploys while the floor keeps moving.

Every push to main migrates the schema, restarts the service and checks its own health on EC2. Forty-eight migrations in, an upgrade is a push, not an event. Nightly backups land in S3 with monthly retention.

deploy · push to main
$ git push origin main
→ alembic upgrade head
→ systemctl restart fastapi
✓ health check 200 OK
✓ nightly S3 backup on schedule
CI/CD to AWS

Station 05 · Still running

Saatatya means continuity.

Inventory OS is in daily use at the factory and still evolving. We built it, we run it, and it keeps running. That is what saatatya means.

status · live
ENDPOINTS 238TABLES 47STATUS RUNNING
● Running today

System map · verified

The architecture, on paper.

The floor

React PWA

phones + desks · offline queue

Core

FastAPI core

EC2 · 28 routers · 27 services

Data

PostgreSQL

schema per company

S3 backups

30 daily · 12 monthly

Outside

DRS storefront

stock + reserve · keyed API

GitHub Actions

deploy + migrate on push

Arrived. Now let's chart yours.

Every client gets a new flight path. Bring us the destination and we will engineer the route.