Portfolio Case Study · B2B E-Commerce · Full-Stack Development
MedSupply B2B: A Full-Stack Medicine Supply & Procurement Platform
A production-ready platform that runs the entire B2B medicine supply chain — catalogue and batch inventory, ordering and approvals, picking, delivery, payments and returns — across a web app, a mobile app, and a documented API from one TypeScript monorepo.
Summary:MedSupply B2B is a production-ready B2B medicine supply-management system built by AbedinTech for healthcare procurement and pharmaceutical distribution. It runs the full supply chain — catalogue and batch-tracked inventory, ordering and approval workflows, picking, packing and invoicing, delivery with proof-of-delivery, payments with customer ledgers and credit control, and customer returns through to credit notes. The entire product is a single TypeScript monorepo — a Node.js/Express/MongoDB API, a React web app, and a React Native mobile app that share code and stay perfectly in sync. If you need a custom B2B e-commerce or supply-chain platform, this is the calibre of system AbedinTech delivers.
What MedSupply B2B Is
MedSupply B2B is a wholesale medicine e-commerce and distribution platform: software that lets a pharmaceutical distributor or medical supplier sell to business customers (pharmacies, clinics, hospitals, and retailers) and manage everything that happens after the order — inventory, fulfilment, delivery, payment, and returns. Unlike a consumer online store, it is built around the realities of B2B healthcare supply: batch and expiry tracking, order approvals, credit terms, customer ledgers, and verifiable custody of stock at every step.
Who It’s Built For
●Pharmaceutical distributors & wholesalers selling to pharmacies, clinics, and hospitals on account and on credit.
●Medical & healthcare suppliers that need batch, expiry, and custody control across a real delivery operation.
●Procurement teams that order on approval workflows and track receivables against credit limits.
●Any B2B business that has outgrown a basic online store and needs ordering, inventory, delivery, and payments in one connected system.
Project at a Glance
Project type
Full-stack B2B e-commerce & supply-chain platform
Domain
Healthcare / pharmaceutical procurement & distribution
A medicine supply business is not an ordinary online store. Getting it right meant solving several hard problems at once:
Medicine inventory is unforgiving.
Stock has to be tracked by batch and expiry, not just by quantity — with custody verified at every hand-off from warehouse to delivery to customer.
B2B buyers need more than a cart.
Wholesale customers order on approval, on credit, and on terms — so the platform needs approval workflows, customer ledgers, and credit control, not one-click checkout.
One product, three surfaces.
Office staff work on the web, field and delivery teams work on mobile, and integrations need an API — all backed by one source of truth that never drifts out of sync.
Every action has to be accountable.
In healthcare supply, who did what and when matters — so the system needs permissioned roles, an activity timeline, and an audit trail across the whole order lifecycle.
The Solution: Key Capabilities
Catalogue & batch inventory
Shop and catalogue management with batch-level inventory tracking, so stock is always accurate down to the individual lot and expiry date.
Ordering & approval workflows
Complete B2B ordering with approval steps, so purchases follow each customer’s real authorization process before they are fulfilled.
Picking, packing & invoicing
Transactional fulfilment operations move each order from warehouse shelf to invoice with a clear, auditable trail.
Delivery with proof & custody
Delivery management with custody verification and proof of delivery, so every consignment is accounted for on hand-off.
Payments, ledger & credit control
Payment processing with per-customer ledgers and credit control keeps receivables under tight, visible management.
Returns & credit notes
Customer returns are handled from initial request through to issued credit notes, closing the loop cleanly.
Analytics with CSV export
Sales, order, inventory, delivery, returns and receivables analytics — all exportable to CSV for finance and reporting.
Real-time notifications & activity timeline
Live notifications and a permission-filtered activity timeline keep every role informed of exactly what they should see.
How the Workflow Runs
1Order — a business customer browses the catalogue and places an order, which enters an approval workflow.
2Fulfil — approved orders are picked and packed against specific batches, then invoiced.
3Deliver — consignments move out with custody verification and proof of delivery on hand-off.
4Get paid — payments post to the customer ledger, with credit limits and receivables tracked in real time.
5Handle returns — return requests flow through to credit notes, and analytics capture the whole cycle.
Architecture & Engineering
The platform is a single TypeScript monorepo managed with Turborepo and pnpm workspaces, sharing types and business logic across a Node.js/Express/MongoDB API, a React + Vite web app, and a React Native (Expo) mobile app. Redis backs caching and sessions, and the full stack runs on Docker with MongoDB, Redis, the API, and nginx. The API self-documents at /api/v1/docs with an OpenAPI 3.1 specification, making integrations and onboarding straightforward.
Security & Reliability
●Hardened by default — security headers, rate limiting, and NoSQL-injection defence protect the API.
●Controlled access — session management and permission-filtered data so each role sees only what it should.
●Observable — structured logging gives a clear operational record for troubleshooting and audit.
●Deployable — containerised with Docker and nginx for consistent, repeatable production releases.
Results & Impact
●One platform, whole supply chain — ordering, inventory, delivery, payments and returns in a single connected system.
●Shared code, web and mobile — a monorepo keeps the office web app and the field mobile app in lockstep, with no duplicated logic.
●Tighter cash control — customer ledgers and credit limits make receivables visible and manageable in real time.
●Production-hardened and container-ready — security controls, structured logging, a documented API, and a Docker deployment from day one.
Why Businesses Choose AbedinTech
MedSupply B2B shows how AbedinTech builds real, production-grade software — not prototypes. We take a complex operation, map it end to end, and deliver a secure platform your team can actually run and grow on. If you are planning a B2B e-commerce store, an inventory or supply-chain system, a customer portal, or a paired web-and-mobile product, we can build it with the same rigour you see here.
●Full-stack in one team — API, web, and mobile built together, so nothing falls through the cracks.
●Built to scale — clean architecture and shared code that grows with your business.
●Ownership, not lock-in — documented, maintainable code your team can extend.
Whether it’s B2B e-commerce, an inventory or supply-chain system, or a web-and-mobile product, AbedinTech can design and build it end to end. Let’s scope your project together.
MedSupply B2B is a production-ready B2B medicine supply-management platform built by AbedinTech. It covers the full healthcare supply chain — catalogue and batch inventory, ordering and approvals, picking and invoicing, delivery with proof of delivery, payments with customer ledgers and credit control, and customer returns through to credit notes.
What is a B2B medicine e-commerce platform?
A B2B medicine e-commerce platform is software that lets pharmaceutical distributors and medical suppliers sell to business customers such as pharmacies, clinics, and hospitals. Beyond a shopping cart, it manages batch and expiry tracking, order approvals, credit terms, customer ledgers, delivery with custody verification, and returns.
What technologies power MedSupply B2B?
It is a TypeScript monorepo built with Turborepo and pnpm: a Node.js, Express and MongoDB API with Redis, a React and Vite web app, and a React Native (Expo) mobile app. It ships with Docker and nginx and a self-documenting OpenAPI 3.1 API.
What features does a medicine supply-management system need?
Key features include catalogue and batch inventory with expiry tracking, B2B ordering with approval workflows, picking, packing and invoicing, delivery management with proof of delivery, payments with customer ledgers and credit control, returns and credit notes, and analytics with CSV export.
How does the platform handle batch and expiry tracking?
Inventory is tracked at the batch level rather than only by quantity, so stock is accurate down to the individual lot and expiry date. Orders are fulfilled against specific batches, and custody is verified at each hand-off from warehouse to delivery.
Does it support credit sales and customer ledgers?
Yes. MedSupply B2B includes payment processing with per-customer ledgers and credit control, so wholesale customers can order on terms while receivables and credit limits stay visible and manageable in real time.
Does MedSupply B2B include a mobile app?
Yes. Alongside the React web app there is a React Native (Expo) mobile app for iOS and Android, sharing code with the web app and API through a single monorepo so every surface stays in sync.
Is the platform secure and production-ready?
Yes. It is hardened with security headers, rate limiting, NoSQL-injection defence, session management, and structured logging, and it is containerised with Docker and nginx for consistent production deployment.
Can AbedinTech build a similar B2B e-commerce or supply-chain platform for my business?
Yes. AbedinTech builds custom, production-grade web, mobile, and API platforms end to end — including B2B e-commerce, inventory, and supply-chain systems for healthcare and other industries. Request a free quote and we will scope it with you.
How long does it take to build a custom platform like this?
Timelines depend on scope, but a focused first version is typically delivered in a few months, with further features added in later releases. Share your requirements and we will give you a realistic timeline for your project.
How much does a custom B2B platform cost?
Cost depends on the features, integrations, and platforms involved. AbedinTech scopes each project to your goals and budget, and we often start with a focused first release to prove value quickly. Request a free quote for a detailed estimate.