Medical Supplies B2B: Commerce & Operations

Remote Digital

A single platform that lets a medical-equipment supplier sell to healthcare businesses online and run the entire back office (inventory, multi-warehouse stock, orders, invoicing and accounting) with batch/expiry tracking built for medical goods. Bilingual (English/Turkish).

NextJSReactJSTypeScriptGraphQLApollo ClientZodTailwind CSS

Overview

A single web platform that lets a medical-equipment supplier sell to healthcare businesses online and run the entire back office (inventory, warehouses, orders, invoicing and accounting) in one place. Instead of stitching together a webshop, a spreadsheet for stock, and a separate accounting tool, everything a specialist supplier needs lives under one roof. The catalog spans several distinct product worlds (hearing/audio equipment, dental products, 3D-printing resins, and prosthetics & orthotics), each treated as its own "store type", so one platform serves very different professional buyers without them tripping over each other's products. It's bilingual out of the box (English + Turkish), aimed at a Turkish market with international reach.

The Challenge

This is really two hard products in one (a B2B storefront and a full operations/accounting suite) that share the same data and have to stay correct for the realities of medical goods.

  • Serving very different professional buyers (dental clinics, hearing-care practices, labs, workshops) from one catalog split into distinct "store types".
  • Supporting both instant checkout and negotiated deals: a request-a-quotation flow where a manager prices and returns a quote that, once approved, converts into a sales order automatically.
  • Managing stock across multiple warehouses with batch and expiry tracking (because for medical/consumable goods, which batch, expiring when genuinely matters), with dashboard alerts for low stock and soon-to-expire items.
  • Keeping the books: purchases, refunds, warehouse transfers and expiry write-offs all tracked as their own document types, backed by accounting logs.

How I Solved It

I built this as the first engineer on the team, alongside the manufacturing ERP: literally splitting 12-hour days, roughly 8 hours on the ERP and 4 on this platform. It's a Next.js / React / TypeScript app talking to a GraphQL backend (Apollo), with a Tailwind + Radix interface, React Hook Form + Zod validation, Chart.js/Recharts dashboards, and a PDF/Excel document-generation stack. A middleware layer handles authentication, roles, per-store-type access and maintenance mode, and role-based routing means each of the four user types (Admin, Manager, Sales, Customer) only ever reaches the tools relevant to them.

The commerce and operations sides connect end to end: customers shop a storefront and check out (or request a sales quotation), and approved quotes convert to sales orders automatically; staff then turn those orders into shipments and invoices, pulling stock from the right warehouse, while purchases restock inventory and every refund, transfer and expiry write-off is recorded as its own document. I modelled products, pricing and stock per warehouse so the same item can carry different pricing and quantity in each location, and batch/expiry tracking runs throughout, with low-stock and expiry alerts surfaced on the dashboard.

Key Features

  • Storefront: browse by product world, category and brand with search/filter; product pages, cart, and checkout with saved delivery addresses; a personal account area (orders, refunds, sales quotations with accept/reject, profile, address book).
  • Catalog management: products, product groups, categories & subcategories, brands, store types, and custom product fields for spec-heavy items.
  • Warehouse & inventory: multiple warehouses, batch tracking, stock movement, and low-balance/expiry monitoring.
  • Sales pipeline: sales orders, sales quotations (priced and returned by a manager), and shipment creation.
  • Invoicing & finance: purchase / sales / expiry / refund / transfer documents with payment-status tracking, accounting logs, and a data-rich dashboard (top products, top salespeople, movement, expiry, accounting).
  • Professional documents: nine print-ready document types (official invoice, sales/purchase/refund/expiry/transfer invoices, quotations, sales orders, product-group sheets) plus Excel export.

Results & Impact

The platform both makes money (online B2B sales) and saves it (one system for stock accuracy, expiry control and paperwork instead of several). It's genuinely end-to-end, not a demo: a complete storefront, dashboard and print layouts, back-office modules covering catalog, inventory, sales, invoicing and finance, role-based access with granular per-feature permissions, print-ready documents with Excel export, and a fully wired backend, all fully bilingual (English/Turkish).

More Projects