ERP · 2026
Carpet ERP with QR and barcode labels
An ERP built around one idea: a label printed once never needs reprinting. Each carpet gets a Zebra label with a permanent QR code and a Code128 barcode; the QR opens a live customer page that shows only what the company chooses, never cost or supplier.
- Client
- A handmade carpet company, Lahore
- Role
- Design and build
- Stack
- Node.js · node:sqlite · Zebra ZPL II · QR and Code128 (written in-house) · Vanilla JS · scrypt sessions
Updated 27 Nov 2026

The problem
A handmade carpet company keeps hundreds of one-of-a-kind pieces across a showroom, a warehouse and exhibition stands. Each carpet's details lived in spreadsheets and on handwritten tags. Tags went out of date the moment a price, status or location changed, a buyer at an exhibition had nobody to ask what a piece was, and the supplier and purchase price sat in the same sheet as the selling details, one careless share away from a customer.
What I built
A central ERP that runs in the browser on the company's own server. Every carpet is a product with its reference number, design, construction, material, knot density, size, colours, photos and price. The label carries a QR code that holds only a permanent random link, unrelated to the reference number, so the page behind it can change while the printed label stays the same; products are archived, never deleted, so old labels keep working. The barcode is the reference number in Code128 for scanning at the counter. Labels print straight to a Zebra GK888t in its own language (ZPL: QR, barcode, logo and dithered photo all native), through a Windows shared printer or the network, or from the browser. Confidentiality is enforced on the server: the customer page is built from a whitelist of fields, purchase price, supplier and internal notes never leave the server, public photos use signed links that expire, and each product or collection can be public, password-protected or need a passcode on every scan. Around it: stock per location with transfers and movements, purchase bills that add stock, sales invoices that take it, payments, catalogues and PDF sheets, roles with view, edit and full rights per module, customer logins that see only their assigned catalogues, audit history, Excel export and backups.
- Products: reference series, design, construction, material, knots, size, colours, photos, price
- Zebra label printing in ZPL: native QR and Code128, logo and dithered photo, shared-printer or network mode
- Label designer with saved designs, preview at the printer's real size and dpi, print or download .zpl
- Permanent QR: random link per product and per collection; can redirect to a custom page
- Customer page from a field whitelist: cost, supplier and internal notes never sent
- Access per product or collection: public, password, or passcode on every scan; signed, expiring photo links
- Stock per location: showroom, warehouse, exhibition; transfers, wastage, adjustments, full movement history
- Purchase bills add stock, sales invoices take it, payments and accounts reports
- Catalogues and product sheets as PDF; customer logins limited to their catalogues
- Roles with none / view / edit / full per module; audit log; Excel export of any table; backups
- Barcode scanning to find, sell or move a carpet
Outcome
Each carpet is labelled once. Price, status, photos and details are changed in one place and every printed QR shows the current version, while cost and supplier stay internal. Built in November 2026 and ready for rollout; the QR pages go public once the system is hosted on the company's domain.
Screens
Click any screen to enlarge it. Arrow keys move between them.
Label preview at the Zebra's real size: name, reference, size, material, Code128 barcode and permanent QR (demo products) Products with collection, size, location, status and customer page access (demo data, generated rug images) One carpet: price, stock by location, barcode, QR scans and quick actions (demo data) What a buyer sees after scanning: live details only, no cost or supplier (demo data)
Want this for your company?
The engagement is described on the Business process automation service page: who it is for, what you get, how it runs, and the questions I get asked.
Have a process like this?
Send me the thing your team does by hand every week. I will tell you honestly whether it is worth automating, even when the answer is no.

← CCTV camera monitoring and daily status reportAll 20 case studies