Pubudu-Health-Center
Pubudu Health Center is a web application that helps users manage their health.

š„ Pubudu Health Center: Medical Management System
Pubudu Health Center is a comprehensive, full-stack healthcare management platform designed to digitize and streamline the daily operations of a medical facility. By providing dedicated interfaces for various stakeholders, the system ensures efficient coordination between patients, medical staff, and administration.
š Project Overview
This application addresses the complexity of healthcare scheduling and record-keeping. Built with the MERN (MySQL, Express, React, Node) stack, it replaces traditional manual logs with a centralized digital hub for real-time appointment booking and availability management.
The Problem
Healthcare centers often face scheduling conflicts, long waiting times, and fragmented patient records when relying on manual or legacy systems.
The Solution
A unified platform where patients can manage their health journey and staff can optimize their schedules through a responsive, role-protected interface.
[Image of medical center management system architecture]
⨠Key Features by Role
The system utilizes Role-Based Access Control (RBAC) to provide customized experiences for four distinct user types:
| Role | Core Capabilities | | :--- | :--- | | Admin | Full system governance, including user lifecycle management (Doctors, Receptionists). | | Doctor | Advanced slot management and real-time schedule visualization. | | Patient | Self-service appointment booking and personal profile management. | | Receptionist | High-level coordination of all appointments and patient-doctor routing. |
[Image of role-based access control (RBAC) flowchart]
š ļø Technology Stack
Frontend
- React (Vite): For a high-performance, component-based user interface.
- Tailwind CSS: Implementing a clean, professional, and mobile-friendly medical UI.
- Lucide React: Integrating consistent, modern iconography across dashboards.
- Axios: Handling asynchronous communication with the backend API.
Backend & Database
- Node.js & Express: Providing a scalable RESTful API architecture.
- MySQL: Relational data storage for structured medical records and appointments.
- Bcrypt: Ensuring industry-standard security for user password hashing.
š Project Architecture
The project maintains a clear separation between the client and server to facilitate easier scaling and maintenance.
Pubudu-Health-Center/
āāā backend/ # Express.js Server
ā āāā server.js # Main entry & route definitions
ā āāā ... # Database configurations & controllers
āāā frontend/ # React Application (Vite)
ā āāā src/
ā ā āāā pages/ # Role-specific dashboards (Admin, Doctor, etc.)
ā ā āāā api.js # Centralized Axios service layer
ā ā āāā components/ # Reusable UI elements
āāā README.md