Daily, 10 am to midnight · Taipei and Taichung, remote across TaiwanLINE @226svlxd0954-153-491
中文Free consultation

CASE · ERP

Inventory and Order ERP for a Bedding Factory

Custom ERP development for a Taiwan bedding factory. An inventory management system with set BOMs, phone barcode scanning and multilingual dealer orders.

Client
A bedding brand with its own factory in Taiwan
Type
ERP · Manufacturing
Year
2026
Stack
Next.js · Drizzle ORM · PostgreSQL · Docker
Inventory system overview with today's orders, pending orders and items below safety stock at the top, and remaining raw materials and recent activity below

Client and background

The client is a bedding brand with its own factory. It sells mattresses, pillows and duvets to student dormitories, where many students come from abroad, mostly Indonesia and Vietnam. Sales go through dealers or straight to students. Products have three levels: raw materials like fabric and foam, single items like mattresses and pillows made from them, and sets built from single items. One set, for example, holds 5 items. Two or three warehouse staff pick and pack orders using iPhones.

The problem

Orders were scattered. Customers ordered through Google Forms. Group lists, prices per group, discount codes, gift promotions and unshipped orders all lived in Google Sheets. Customers were contacted through class representatives or dealers on LINE (Taiwan's most-used messaging app). Stock and shipping were checked by hand.

The client listed the shipping mistakes that kept happening: wrong item picked, items missed, pickup orders loaded onto the truck, wrong delivery date, and orders closed with items still missing. In peak season the warehouse packs two or three days of orders at once, and a single customer can have several shipments in a set order.

What I built

I put purchasing, stock, orders, production and shipping in one system. Each set has a bill of materials, so the system knows which items make up a set and how much fabric and foam each item uses. When production is logged, raw materials are deducted from the bill.

Set A product page with available quantity and price on the left, and the components on the right listing mattress, pillow, duvet, fitted sheet and pillowcase with quantity per set and current stock
The system works out how many sets can be built from the stock of each item.

Old Google Forms orders import straight from Excel or CSV. Rows the system can't read go into a review list instead of disappearing. Each dealer gets a private order link with no password, and the ordering pages come in Chinese, English, Vietnamese and Indonesian so students from abroad can use them too.

Sales order list with tabs for confirmed, picking, packed and shipped, and each row showing sales channel, recipient student, dormitory school, shipping method and amount
Dealer and direct orders in one table, with shipping progress visible at a glance.

Shipping is split into 5 scan stations: receiving, dispatch, picking, packing and loading onto the truck. Every item carries a QR label. Warehouse staff scan with their phone camera, and each station checks item and quantity, so wrong or missing items are caught before shipping.

Phone picking check screen showing a correct scan for a pillow, 1 of 1, with 2 more items left to pick on the order
Dealer order page with Set A and Set B checked, each set's items and remaining stock listed, and a running total at the bottom

Over time the client added quotes, accounts payable, dealer settlements and piece-rate pay, discount codes and gifts, automatic box sizing, and staff time clock and payroll, all in the same system. Permissions cover four roles: system admin, warehouse manager, warehouse staff and customer service.

Results

  • 36 features18 contracted plus 18 bonus, all done
  • 5 stationsPhone barcode scanning
  • 4 languagesOn the ordering pages

All 18 contracted features and 18 bonus features are done. The client has signed, and they are using the system on a staging server now. Next, once the client provides a server and accounts for payments and shipping, I move it to their own server, go live, and run an on-site session on their phones.

Technology

  • Next.js: one codebase for the admin, dealer ordering pages and scan stations
  • PostgreSQL, Drizzle ORM: stock, orders, bills of materials and stock movement history
  • zxing-wasm: QR scanning with the phone camera, with no scanner hardware to buy
  • Docker: packaged to run on the client's own server

CONTACT

Need something similar?

Describe how you work today. No technical terms needed. I reply within one business day.

One is enough. I reply there.
What do you need? (select any)