Back to Projects

HealthPlus Family

An enterprise-grade online medicine shop with role-based access for Customers, Sellers, and Admins.

Home Page

Overview

HealthPlus (MediStore) is a comprehensive pharmaceutical e-commerce solution built to streamline the process of buying and selling medications online. The platform bridges the gap between authorized sellers and customers, providing a secure, regulated, and user-friendly environment.

The project was born out of the need for a centralized, reliable digital marketplace for healthcare products, ensuring that users can access essential medicines with confidence while sellers have robust tools to manage their inventory.

The Challenges

  • Handling sensitive medical product data securely
  • Complex role-based permissions (Admin vs Seller vs Customer)
  • Real-time inventory management and order tracking
  • Secure payment processing with transaction verification
  • Managing large-scale relational data with PostgreSQL

The Solution

  • Implemented JWT-based authentication with high security standards
  • Developed a robust RBAC system with middleware protection
  • Integrated Stripe for seamless, encrypted payment flows
  • Utilized Prisma ORM for type-safe, efficient database queries
  • Built a responsive, accessible UI with Next.js and Tailwind CSS

Architecture & Tech Stack

I chose a modern, high-performance stack to ensure scalability and developer productivity.

Next.jsTypeScriptNode.jsExpress.jsPostgreSQLPrisma ORMStripe APIJWT AuthBetter AuthTailwind CSSFramer MotionZodTanStack Query

Core Capabilities

Role-Based Dashboard

Dedicated interfaces for Admins (system control), Sellers (inventory management), and Customers (shopping experience).

Secure Checkout

Integrated Stripe payment gateway with webhook support for real-time order confirmation and security.

Inventory Tracking

Sellers can easily add, update, and track stock levels with automated alerts and category management.

Order History

Complete transparency for customers with detailed order tracking, invoice generation, and status updates.

Type-Safe API

End-to-end type safety using TypeScript and Zod validation, reducing runtime errors and improving reliability.

Modern UX

Blazing fast navigation with Next.js App Router and smooth, premium animations using Framer Motion.

Ready to see it in Action?

Explore the live deployment or deep dive into the source code on GitHub.