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
- Year
- 2026
- Stack
- Next.js · Drizzle ORM · PostgreSQL · Docker

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.

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.

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.


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
Read next
Custom ERP and inventory management systems built around your workflow: stock, orders, production tracking, dealer ordering, reports and user permissions.
Next projectLand Inspection App and AdminFlutter app development for a Taiwan land inspection contractor. Parcels mapped to GPS, watermarked photos, offline sync and one-click Word reports.
CONTACT
Need something similar?
Describe how you work today. No technical terms needed. I reply within one business day.
- LINE@226svlxd
- Phone0954-153-491
- EmailGBSProgramParadise@gmail.com
- FacebookGBS Program Paradise on Facebook
- HoursDaily, 10 am to midnight
- AreaTaipei and Taichung, remote across Taiwan