ClothCo International
Live Inventory Portal — first-time setup
Step 1 of 2
Connect your Supabase project
Create a free account at supabase.com, start a new project, then copy your Project URL and anon public key from Project Settings → API.
Step 2 of 2
Create the database tables
In your Supabase dashboard, go to SQL Editor and run this script once:
-- Lots table create table if not exists items ( id uuid default gen_random_uuid() primary key, name text not null, sku text, description text, image_data text, sizes jsonb default '[]'::jsonb, created_at timestamptz default now() ); -- Orders table create table if not exists orders ( id uuid default gen_random_uuid() primary key, ref text, cust_name text not null, phone text, address text, city text, pincode text, state text, courier text, item_id uuid references items(id), item_name text, sizes_ordered jsonb default '{}'::jsonb, total_qty integer default 0, order_date text, notes text, status text default 'pending', dispatch_date text, created_at timestamptz default now() ); -- Allow public read/write (family portal) alter table items enable row level security; alter table orders enable row level security; create policy "allow all" on items for all using (true) with check (true); create policy "allow all" on orders for all using (true) with check (true);
⚡ After running the SQL, click the button below to open your portal.

ClothCo International
Live Inventory Portal
Enter access key
Incorrect key. Try again.
ClothCo International
ClothCo International
Live inventory
Overview
Dashboard
Operations
New Order
Stock
Dispatch
Catalog
Lots
Add Lot
Production — Phase 1
Fabric Purchase
Fabric Lots
Cutting — Scan QR
ClothCo International
All Right Reserved.
Dashboard
Syncing… Live
⚠️  You have unsaved changes — navigating away will lose your data.
Active Lots
—
in catalog
In stock
—
pieces available
Orders placed
—
total orders
Dispatched
-
pieces shipped
Stock by Lot
Recent orders
Create new order
Customer details
Select item (print)
Loading items…
Select sizes & quantities
Stock — all styles
Total orders
—
Pending dispatch
—
Dispatched
—
All orders
Pending
Dispatched
All orders
Lots Catalog
New Fabric Purchase
Fabric Lots
Loading fabric lots…
Fabric Lot
Scan Fabric Lot QR

Scan the QR label stuck on the fabric bundle/roll to load its lot details.

Or enter Fabric Lot ID manually
Fabric Lot Details
Create New Lot
Lot Details
Production Details
Sizes Template
Add the sizes for this lot once, then apply them to every print below. Quantities still need to be filled in per print.
Prints