
The Challenge
Jewellery pricing is unusually complex: every piece depends on the day's gold or silver rate, its purity, weight, making charges, GST and hallmark fees. Shops were working this out by hand, which made billing slow, made errors common, and left owners unsure of their real profit on each sale.
The Solution
I designed and built the pricing and inventory core. Products are organised by metal type, category and sub-category, get a generated barcode, and are priced automatically from live metal rates and purity, including pieces sold by weight or by piece. Sales can be reversed safely, profit is calculated consistently in both the product table and reports, and stock movements are logged with reasons and bill references. Shop owners create managers with custom permissions, and a super-admin runs shops, plans and support.
Technical Architecture
React 19 and Vite frontend, Express API in TypeScript, PostgreSQL via Prisma, JWT authentication, JsBarcode for labels, Recharts for reporting, and a Docker Compose production setup.
Key Tech Stack
Business Outcome
Live in production at karatrix.com as a multi-shop SaaS with subscription plans.
Interface & Dashboard Details
Tap a screen to see it full size.
UX & Design Decisions
- Pricing logic lives in one place, so a sale, the product table and the reports can never disagree about profit.
- Barcode labels are generated in the app and printable immediately, so stock is tagged the moment it is added.
- Separate views for owners and managers, so staff only see what they need to sell.
