Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

147 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Prescripto360Care Hero Banner

🩺 Prescripto360Care

Enterprise-Grade Healthcare Appointment Management Platform

Connecting Patients, Doctors, and Administrators through a secure, scalable, and modern digital healthcare ecosystem.


πŸ“Œ About the Project

Healthcare appointment booking is often fragmented across multiple channels, leading to scheduling conflicts, inefficient communication, and a poor user experience for both patients and healthcare providers.

Prescripto360Care addresses these challenges by providing a complete digital healthcare ecosystem where patients can seamlessly discover specialists, book appointments, complete secure online payments, and manage consultations. At the same time, doctors gain dedicated dashboards to manage appointments, earnings, and availability, while administrators oversee the entire platform through centralized analytics and management tools.

Built using the MERN Stack, the platform follows modern software engineering principles with modular architecture, role-based authentication, secure payment processing, cloud media management, and responsive user interfaces.

Whether viewed as a portfolio project or a production-ready foundation, Prescripto360Care demonstrates the implementation of scalable full-stack development practices in the healthcare domain.


🌍 Live Deployment

Platform Link
🌐 Patient Application https://prescripto-care-360.vercel.app/
πŸ‘¨β€βš•οΈ Admin & Doctor Dashboard https://prescripto-care-360-admin.vercel.app/
βš™οΈ Backend REST API https://prescripto-care-360.onrender.com/
πŸ’» GitHub Repository https://github.com/mihirgupta665/Prescripto_Care_360

Note

Payments are integrated using Razorpay Test Mode. Test credentials can be used to simulate successful transactions without processing real payments.



🎬 Application Demo

A quick overview of the complete patient journey β€” Discover β†’ Book β†’ Pay β†’ Confirm.

Prescripto360Care Demo GIF


πŸŽ₯ Project Walkthrough

A complete walkthrough of the Patient Application, Doctor Dashboard, and Administrator Dashboard.

Watch Project Walkthrough

β–Ά Click the thumbnail above to watch the complete project walkthrough.


πŸ“Έ Application Showcase

Explore the complete healthcare ecosystem through the Patient Application, Administrator Dashboard, and Doctor Dashboard.


πŸ‘€ Patient Application

🏠 Home Page πŸ‘¨β€βš•οΈ Doctors Directory
🩺 Doctor Profile & Booking πŸ’³ Secure Razorpay Payment
πŸ“– My Appointments πŸ‘€ My Profile
πŸ“± Responsive Mobile View

πŸ›  Administrator Dashboard

🏠 Admin Home πŸ“Š Dashboard
πŸ“… Appointment Management βž• Add Doctor
πŸ‘¨β€βš•οΈ Doctor Directory

πŸ‘¨β€βš•οΈ Doctor Dashboard

πŸ“Š Dashboard πŸ“… Appointments
πŸ‘€ Profile Management

⭐ Why Prescripto360Care?

Healthcare appointment management often involves fragmented communication, manual scheduling, and disconnected workflows.

Prescripto360Care brings patients, doctors, and administrators together on a single platform, delivering a secure, efficient, and scalable healthcare ecosystem. The project demonstrates practical implementation of modern full-stack development concepts, including authentication, appointment scheduling, secure online payments, cloud media management, and role-based dashboards.

Designed with modular architecture and production-oriented practices, it emphasizes scalability, maintainability, security, and an intuitive user experience.


✨ Project Highlights

  • βœ… Enterprise-Grade MERN Stack Architecture
  • βœ… Three Dedicated User Roles (Patient, Doctor & Admin)
  • βœ… Secure JWT Authentication & Authorization
  • βœ… Password Encryption using Bcrypt
  • βœ… Real-Time Appointment Slot Booking
  • βœ… Razorpay Payment Gateway Integration
  • βœ… Cloudinary Media Storage
  • βœ… Responsive User Interface
  • βœ… Analytics Dashboard
  • βœ… RESTful API Architecture
  • βœ… MongoDB Atlas Database
  • βœ… Modular Backend Structure
  • βœ… Production Deployment using Vercel & Render

πŸ“Š Project Metrics

Category Details
πŸ–₯ Applications Patient App + Admin/Doctor Dashboard
βš™ Backend Express REST API
πŸ‘₯ User Roles Patient β€’ Doctor β€’ Administrator
πŸ” Authentication JWT + Bcrypt
πŸ’³ Payment Gateway Razorpay
☁ Cloud Storage Cloudinary
πŸ—„ Database MongoDB Atlas
πŸ“‘ API Style RESTful Architecture
πŸ“ˆ Dashboard Analytics & Appointment Insights
🌍 Deployment Vercel + Render
πŸ“± Responsive Desktop β€’ Tablet β€’ Mobile

  • πŸ“Œ About the Project
  • 🌍 Live Deployment
  • 🎬 Application Demo
  • πŸŽ₯ Project Walkthrough
  • πŸ“Έ Application Showcase
    • πŸ‘€ Patient Application
    • πŸ›  Administrator Dashboard
    • πŸ‘¨β€βš•οΈ Doctor Dashboard
  • ⭐ Why Prescripto360Care?
  • ✨ Project Highlights
  • πŸ“Š Project Metrics
  • πŸ— System Architecture
  • ✨ Key Features
  • πŸ›  Technology Stack
  • πŸ“ Project Structure
  • βš™ Core Functionalities
  • πŸ”„ Appointment Booking Workflow
  • πŸ” Environment Variables
  • πŸš€ Installation
  • β–Ά Running the Project
  • πŸ“¦ Available Scripts
  • 🌍 Deployment Guide
  • πŸš€ Future Enhancements
  • πŸ§ͺ Project Learnings
  • 🀝 Contributing
  • πŸ“„ License
  • πŸ‘¨β€πŸ’» Author

πŸ— System Architecture

graph LR

A[πŸ‘€ Patient Application]

B[πŸ‘¨β€βš•οΈ Doctor/Admin Dashboard]

C[βš™οΈ Express REST API]

D[(MongoDB Atlas)]

E[☁️ Cloudinary]

F[πŸ’³ Razorpay]

A --> C
B --> C
C --> D
C --> E
C --> F
Loading

✨ Key Features

Prescripto360Care provides a complete healthcare appointment ecosystem by serving three different user roles through dedicated dashboards and secure access control.


πŸ‘€ Patient Portal

Empowering patients with a seamless healthcare booking experience.

Feature Description
🩺 Doctor Discovery Browse specialists across multiple medical departments.
πŸ” Smart Filtering Find doctors based on specialization.
πŸ“… Online Appointment Booking Book appointments with real-time slot availability.
⏰ Slot Management Prevents overlapping bookings through server-side validation.
πŸ’³ Secure Online Payments Complete consultations securely using Razorpay.
πŸ“‹ Appointment History View upcoming, completed, cancelled, and paid appointments.
πŸ‘€ Profile Management Update personal information, address, and profile picture.
☁ Cloud Image Upload Store profile images securely using Cloudinary.
πŸ“± Responsive Interface Optimized for Desktop, Tablet, and Mobile devices.

πŸ‘¨β€βš•οΈ Doctor Dashboard

A dedicated workspace enabling doctors to efficiently manage consultations and appointments.

Feature Description
πŸ“Š Personal Dashboard View appointments, earnings, and consultation statistics.
πŸ“… Appointment Management Accept, cancel, or complete appointments.
πŸ’° Earnings Overview Track consultation revenue.
🟒 Availability Control Enable or disable appointment availability instantly.
πŸ‘€ Profile Management Update experience, fees, specialization, and profile details.
πŸ•’ Appointment Timeline Organize scheduled consultations efficiently.

πŸ›  Administrator Dashboard

Centralized management system for monitoring and controlling the entire platform.

Feature Description
πŸ“ˆ Analytics Dashboard Platform-wide appointment and revenue statistics.
βž• Doctor Management Add and manage registered doctors.
🩺 Doctor Availability Enable or disable doctor booking status.
πŸ“‹ Appointment Monitoring View and manage all appointments.
πŸ‘₯ Platform Management Monitor users, doctors, and healthcare operations.
πŸ”’ Administrative Control Secure role-based access for platform administration.

πŸ›  Technology Stack

The project follows a modern MERN architecture combined with cloud services, secure authentication, and third-party payment integration.

Category Technologies
🎨 Frontend React 19, Vite 8, Tailwind CSS
🌐 Routing React Router DOM
πŸ“‘ API Communication Axios
βš™ Backend Node.js, Express.js
πŸ—„ Database MongoDB Atlas, Mongoose
πŸ” Authentication JSON Web Token (JWT), Bcrypt
☁ Cloud Storage Cloudinary
πŸ’³ Payment Gateway Razorpay
πŸ“ File Upload Multer
πŸ“Š Charts Recharts
πŸ”” Notifications React Toastify
βœ” Validation Validator.js
πŸš€ Deployment Vercel, Render
πŸ’» Version Control Git & GitHub

🧩 Software Architecture

The project follows a modular and scalable architecture where each layer is responsible for a specific business concern.

Layer Responsibility
🎨 Presentation Layer Responsive React applications for Patients, Doctors, and Administrators
🌐 API Layer Express REST APIs handling incoming requests
πŸ” Authentication Layer JWT verification and role-based authorization
βš™ Business Layer Controllers implementing application logic
πŸ—„ Data Layer MongoDB collections managed through Mongoose
☁ External Services Razorpay Payment Gateway and Cloudinary Media Storage

πŸ“ Project Structure

Prescripto360Care
β”‚
β”œβ”€β”€ frontend/                     # Patient Application
β”‚   β”œβ”€β”€ public/
β”‚   β”œβ”€β”€ src/
β”‚   β”‚
β”‚   β”œβ”€β”€ assets/
β”‚   β”œβ”€β”€ components/
β”‚   β”œβ”€β”€ context/
β”‚   β”œβ”€β”€ pages/
β”‚   β”œβ”€β”€ App.jsx
β”‚   └── main.jsx
β”‚
β”œβ”€β”€ admin/                        # Doctor & Admin Dashboard
β”‚   β”œβ”€β”€ public/
β”‚   β”œβ”€β”€ src/
β”‚   β”‚
β”‚   β”œβ”€β”€ assets/
β”‚   β”œβ”€β”€ components/
β”‚   β”œβ”€β”€ context/
β”‚   β”œβ”€β”€ pages/
β”‚   β”œβ”€β”€ App.jsx
β”‚   └── main.jsx
β”‚
β”œβ”€β”€ backend/                      # Express Backend
β”‚   β”œβ”€β”€ config/
β”‚   β”œβ”€β”€ controllers/
β”‚   β”œβ”€β”€ middlewares/
β”‚   β”œβ”€β”€ models/
β”‚   β”œβ”€β”€ routes/
β”‚   β”œβ”€β”€ utils/
β”‚   β”œβ”€β”€ server.js
β”‚   └── package.json
β”‚
β”‚
β”œβ”€β”€ assets/
β”‚   β”œβ”€β”€ screenshots/
|
└── README.md

βš™ Core Functionalities

Beyond a standard CRUD application, Prescripto360Care incorporates several production-inspired features that improve scalability, maintainability, and user experience.


πŸ” Authentication & Authorization

The platform implements secure authentication using JSON Web Tokens (JWT) and Bcrypt password hashing.

Role-Based Access Control

  • πŸ‘€ Patient Authentication
  • πŸ‘¨β€βš•οΈ Doctor Authentication
  • πŸ›  Administrator Authentication

Each protected route validates the incoming JWT before granting access to authorized resources.


πŸ“… Smart Appointment Booking Engine

The booking system validates doctor availability before confirming appointments.

Booking Logic

  1. Patient selects a doctor.
  2. Patient chooses an available date.
  3. Available consultation slots are generated dynamically.
  4. Backend validates slot availability.
  5. Appointment is temporarily reserved.
  6. Successful payment confirms booking.
  7. Slot becomes unavailable for future bookings.

This approach eliminates double-booking and maintains scheduling consistency.


πŸ’³ Secure Payment Processing

The platform integrates Razorpay for secure consultation fee payments.

Payment workflow includes:

  • Order creation through backend APIs
  • Secure Razorpay Checkout
  • Signature verification
  • Payment validation
  • Appointment confirmation
  • Paid status update

☁ Cloud Image Management

Doctor and patient profile images are securely uploaded using Multer and stored in Cloudinary.

Benefits include:

  • Optimized cloud storage
  • Faster image delivery
  • Reduced backend storage requirements
  • Secure media management

πŸ“Š Analytics Dashboard

Administrators and doctors receive interactive dashboards displaying meaningful platform insights.

Dashboard metrics include:

  • Total Appointments
  • Registered Doctors
  • Platform Revenue
  • Completed Consultations
  • Appointment Trends
  • Personal Earnings (Doctors)

πŸ”„ Appointment Booking Workflow

flowchart LR

A[Patient Login]

B[Browse Doctors]

C[Choose Date & Slot]

D[Backend Slot Validation]

E[Razorpay Payment]

F[Appointment Confirmed]

G[Doctor Dashboard Updated]

A --> B
B --> C
C --> D
D --> E
E --> F
F --> G
Loading

πŸ” Environment Variables

To run the project locally, create the following environment files inside their respective directories.


Backend (backend/.env)

PORT=4000

MONGODB_URI=your_mongodb_connection_string
MONGODB_DB_NAME=prescripto360care

JWT_SECRET=your_super_secret_key

ADMIN_EMAIL=admin@example.com
ADMIN_PASSWORD=your_admin_password

CLOUDINARY_NAME=your_cloudinary_name
CLOUDINARY_API_KEY=your_cloudinary_api_key
CLOUDINARY_SECRET_KEY=your_cloudinary_secret

RAZORPAY_KEY_ID=your_razorpay_key
RAZORPAY_KEY_SECRET=your_razorpay_secret

CURRENCY=INR

Frontend (frontend/.env)

VITE_BACKEND_URL=http://localhost:4000
VITE_RAZORPAY_KEY_ID=your_razorpay_key

Admin Dashboard (admin/.env)

VITE_BACKEND_URL=http://localhost:4000

πŸš€ Getting Started

Follow the steps below to run Prescripto360Care on your local machine.


1️⃣ Clone the Repository

git clone https://github.com/mihirgupta665/Prescripto_Care_360.git
cd Prescripto360Care

2️⃣ Install Dependencies

Backend

cd backend
npm install

Patient Application

cd ../frontend
npm install

Admin Dashboard

cd ../admin
npm install

β–Ά Running the Project

Open three terminal windows.

Terminal 1

Backend

cd backend
npm run server

Runs at

http://localhost:4000

Terminal 2

Patient Application

cd frontend
npm run dev

Runs at

http://localhost:5173

Terminal 3

Doctor & Admin Dashboard

cd admin
npm run dev

Runs at

http://localhost:5174

πŸ“¦ Available Scripts

Backend

Command Description
npm start Starts production server
npm run server Starts development server with Nodemon

Frontend & Dashboard

Command Description
npm run dev Starts Vite Development Server
npm run build Creates Production Build
npm run preview Preview Production Build
npm run lint Runs ESLint

🌍 Deployment

The application is deployed using a modern cloud architecture.

Component Platform
🌐 Patient Application Vercel
πŸ‘¨β€βš•οΈ Doctor/Admin Dashboard Vercel
βš™ Backend API Render
πŸ—„ Database MongoDB Atlas
☁ Media Storage Cloudinary
πŸ’³ Payment Gateway Razorpay

Deployment Configuration

Backend

Platform : Render

Root Directory : backend

Build Command : npm install

Start Command : npm start

Frontend

Platform : Vercel

Framework : Vite

Root Directory : frontend

Admin Dashboard

Platform : Vercel

Framework : Vite

Root Directory : admin

πŸš€ Future Improvements

Although fully functional, several enhancements can further improve the platform.

  • πŸ“… Google Calendar Integration
  • πŸ“© Email Appointment Confirmation
  • πŸ“± SMS Notifications
  • πŸ”” Real-Time Appointment Reminders
  • πŸ’¬ Patient–Doctor Chat
  • πŸŽ₯ Video Consultation
  • ⭐ Doctor Reviews & Ratings
  • 🌐 Multi-Language Support
  • πŸŒ™ Dark Mode
  • πŸ“Š Advanced Analytics Dashboard
  • πŸ€– AI-Based Doctor Recommendation
  • πŸ“„ Downloadable Medical Prescriptions

πŸ§ͺ Project Learnings

Building Prescripto360Care provided practical experience in designing and developing a production-inspired full-stack healthcare platform.

Key areas explored include:

  • Designing scalable MERN architecture
  • Implementing role-based authentication
  • Building secure REST APIs
  • Integrating third-party payment gateways
  • Managing cloud-based media uploads
  • Working with MongoDB relationships
  • Building responsive interfaces
  • Deploying multi-service applications
  • Managing environment variables securely
  • Structuring maintainable backend code

🀝 Contributing

Contributions are always welcome.

If you have ideas, improvements, or bug fixes, feel free to contribute.

  1. Fork the repository

  2. Create a feature branch

git checkout -b feature/awesome-feature
  1. Commit your changes
git commit -m "Add awesome feature"
  1. Push to GitHub
git push origin feature/awesome-feature
  1. Open a Pull Request

πŸ“„ License

This project is released under the MIT License.

You are free to use, modify, and distribute this project for educational and personal purposes.


πŸ‘¨β€πŸ’» Author

Mihir Gupta

Full Stack Developer β€’ AI/ML Enthusiast β€’ Software Engineer

Passionate about building scalable applications, solving real-world problems, and continuously learning modern technologies.


⭐ Support the Project

If you found this project useful or inspiring,

consider giving it a ⭐ Star on GitHub.

It helps the project reach more developers and motivates continued development of high-quality open-source software.


Let's Connect

GitHub

LinkedIn


⭐ Thank you for visiting Prescripto360Care ⭐

Built with ❀️ using the MERN Stack

About

Production-ready healthcare platform built with React, Node.js, Express, MongoDB, Razorpay, and Cloudinary.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages