HealthcareB2B Pharma WholesaleDoctor Dispensing PortalVue.js & Inertia.jsAWS Cloud Infrastructure

B2B Pharmaceutical Wholesale Ordering & Clinic Dispensing Portal

Designed and developed a secure B2B pharmaceutical procurement portal enabling verified doctors and clinics to order medical supplies in bulk with hierarchical approval workflows, custom tiered pricing, and automated inventory notifications.

Main screenshot of B2B Pharmaceutical Wholesale Ordering & Clinic Dispensing Portal

Project Overview

Type

B2B Healthcare eCommerce & Dispensing Portal

My Role

Frontend Developer, System Architecture & Database Design, Team Lead

Year

2025 – 2026

Tools Used

HTML, Vue.js, JavaScript (ES6+), Inertia.js, MySQL, AWS Cloud Infrastructure (ALB & EC2), REST API Integration

The problem

A leading healthcare and pharmaceutical distribution organization has partnered with our team for over four years to drive their digital systems. To modernize clinical procurement, they required an enterprise-grade B2B web application portal where verified doctors and clinic administrators could procure specialized pharmaceutical products and medical consumables in bulk at wholesale pricing.

  • Medical and clinical supply chains require strict verification to prevent unauthorized purchasing of prescription-only drugs, necessitating a rigorous Doctor Master onboarding workflow with medical license registration validation before granting catalog pricing access.
  • Unlike traditional retail eCommerce, clinical wholesale transactions involve custom tiered volume pricing, variable minimum order quantities (MOQ), clinic-specific credit lines, and GST tax invoicing rules that off-the-shelf platforms could not support.
  • Organizationally, order fulfillment required structured internal hierarchy governance (Organogram Master). Approvals for high-volume or credit-based orders needed to route sequentially across regional sales representatives, branch managers, and finance controllers based on defined authority limits before reaching the dispatch warehouse.
  • Disjointed communication between ordering doctors, sales coordinators, and warehouse staff caused order status uncertainty and missed dispatch deadlines, calling for a centralized Notification Master to broadcast real-time operational alerts across all stakeholder touchpoints.

Without a scalable, highly secure web application powered by high-availability cloud infrastructure, manual order processing across phone calls, WhatsApp messages, and spreadsheets created administrative delays, pricing discrepancies, and operational overhead.

What I did

  • Architected and engineered a mobile-first, responsive single-page application (SPA) frontend using HTML, Tailwind CSS, Vue.js, and Inertia.js, delivering fast, fluid interactions for clinic staff on smartphones, tablets, and desktop workstations.
  • Designed the end-to-end System Architecture and Relational Database Schema in MySQL, modeling complex data structures for multi-tier Product Masters, verified Doctor profiles, configurable Organogram hierarchy trees, and multi-state Order approval workflows.
  • Built a comprehensive Product Master module supporting bulk pricing matrixes, volume-tiered discounts, minimum order quantity (MOQ) logic, pharmaceutical batch numbers, and tax compliance rules.
  • Engineered a secure Doctor Master workflow featuring medical registration number verification, clinic profile validation, delivery address mapping, and custom credit terms management.
  • Implemented an interactive Organogram Master with hierarchical role assignment, allowing organizational administrators to define custom approval chains, user roles, and order value authorization thresholds.
  • Designed and integrated an automated Order Master and tracking engine managing the full transaction lifecycle from doctor requisition to multi-tier approval, warehouse picking, packing, dispatch, and digital invoice generation.
  • Developed a centralized Notification Master that triggers real-time in-app feed updates, SMS alerts, and transactional emails for new order placements, pending supervisor authorizations, approval confirmations, and dispatch tracking.
  • Architected and deployed scalable cloud infrastructure on Amazon AWS, configuring Application Load Balancers (ALB) across multiple EC2 instances to distribute traffic evenly and maintain uninterrupted high-availability uptime during peak clinical procurement hours.

Key features

Product Master & Bulk Pricing Tiers

Configurable pharmaceutical catalog engine with minimum order quantities (MOQ), volume-based tiered discounts, tax rules, and batch-level stock availability tracking.

Doctor & Clinic Verification Master

Structured credentialing portal for medical practitioners with medical council registration verification, multi-clinic management, and customized credit lines.

Organogram Master & Approval Hierarchy

Visual organizational hierarchy engine allowing enterprises to assign custom roles, define reporting lines, and establish multi-tier authorization workflows for wholesale order sign-offs.

B2B Order Master & Tracking Engine

End-to-end procurement pipeline managing order requisitions, multi-level supervisory approvals, warehouse dispatch updates, and automated GST billing reconciliations.

Customized Notification Master

Centralized communication routing engine delivering instant status alerts, pending authorization reminders, and delivery milestones via in-app feeds, email, and SMS.

Custom Procurement & Sales Reports

Executive analytics suite providing real-time operational insights into clinic reorder patterns, therapeutic product turnover, regional sales volumes, and approval cycle durations.

Screens

Click any screenshot to view full resolution.

B2B pharmaceutical wholesale portal homepage with secure doctor credentialing, specialized product catalog highlights, and wholesale bulk procurement workflows
Click to enlarge

B2B pharmaceutical wholesale portal homepage with secure doctor credentialing, specialized product catalog highlights, and wholesale bulk procurement workflows

Interactive administrative dashboard displaying real-time wholesale sales metrics, pending order approvals, doctor verification statuses, and inventory replenishment alerts
Click to enlarge

Interactive administrative dashboard displaying real-time wholesale sales metrics, pending order approvals, doctor verification statuses, and inventory replenishment alerts

Comprehensive Product Master management view for authoring pharmaceutical specifications, tiered bulk quantity discounts, MOQ rules, and batch-level stock limits
Click to enlarge

Comprehensive Product Master management view for authoring pharmaceutical specifications, tiered bulk quantity discounts, MOQ rules, and batch-level stock limits

Multi-stage Order Master tracking interface featuring hierarchical approval statuses, fulfillment timelines, payment reconciliations, and downloadable GST tax invoices
Click to enlarge

Multi-stage Order Master tracking interface featuring hierarchical approval statuses, fulfillment timelines, payment reconciliations, and downloadable GST tax invoices

Custom Notification Master for orchestrating automated operational alerts, multi-tier approval notifications, low-stock dispatches, and clinic delivery confirmations
Click to enlarge

Custom Notification Master for orchestrating automated operational alerts, multi-tier approval notifications, low-stock dispatches, and clinic delivery confirmations

Result

Outcome & Impact

The B2B pharmaceutical dispensing and wholesale ordering portal transformed clinical supply procurement across the organization's partner doctor network.

  • Automated multi-level hierarchy approval workflows eliminated manual paper and phone sign-offs, reducing order processing and dispatch authorization turnaround time by over 60%.
  • Verified doctor onboarding and tiered bulk pricing eliminated manual quote generation and pricing errors, driving a 45% increase in monthly repeat clinic order volumes within the first six months.
  • Deploying AWS Application Load Balancers (ALB) across EC2 server clusters delivered 99.98% uninterrupted platform uptime, smoothly handling morning replenishment order surges from hundreds of clinics simultaneously.