

This source code represents a modern healthcare system web application developed with the latest technologies to facilitate efficient hospital management. The application provides streamlined features tailored to different user roles through a Role-Based Access Control (RBAC) system. Below is a detailed breakdown of the application's features, architecture, and technologies used.
Features and Functionalities
Role-Based Access Control (RBAC)
The application implements RBAC to ensure secure and efficient access to resources based on user roles. Each role is granted specific permissions, enabling targeted functionalities:
Admin
Manage all users (staff and patients).
View and manage appointment records.
Handle leave requests.
Oversee all functionalities within the system, including monitoring dashboards and system performance.
Doctors
View and manage assigned appointments.
Update and maintain patient medical records.
Review and track personal leave requests.
Patients
Book, view, and manage their appointments.
Access their medical history.
View and download laboratory results.
Laboratory Staff
Manage laboratory tests and record results.
Maintain laboratory inventory for tests and equipment.
Nurses
Assist in patient care management.
Monitor patient records and appointments as needed.
Pharmacy Staff
Manage prescriptions and pharmacy inventory.
Modules and Functionalities
Staff/User Management
A comprehensive module for managing staff and patients, including adding, editing, and deactivating user accounts.
Appointment Management
Patients can schedule appointments based on available slots.
Doctors can view their schedules and manage appointments efficiently.
Laboratory Management
Handles the lifecycle of lab tests, from order creation to result recording.
Tracks inventory for lab equipment and reagents.
Leave Management
Enables staff to submit leave requests, which admins can review and approve.
Allows tracking of leave balances and history.
Dashboards
Each user type is provided with a tailored dashboard displaying relevant data.
Dashboards are modern, interactive, and visually appealing, designed to enhance user experience and productivity.
Light & Dark Theme


Awesome landing page
Technologies Used
Frontend
1. Next.js 15: A modern React-based framework offering server-side rendering, static site generation, and optimized performance.
2. Tailwind CSS: A utility-first CSS framework for building responsive and customizable designs.
3. Shadcn UI Components: Prebuilt UI components providing consistency and design flexibility.
Backend
1. Prisma ORM: An efficient and type-safe Object-Relational Mapping tool for managing PostgreSQL database operations.
2. PostgreSQL: A robust relational database to handle the application's data securely and efficiently.
Authentication and Authorization
Clerk: A user authentication and identity management library for managing secure logins, role assignments, and user data.
Setup and Configuration
For detailed setup and configuration instructions, refer to the README file located in the setup-instruction folder. The file includes information on:
Installation of dependencies.
Database setup and schema migration using Prisma.
Configuration of Clerk for authentication.
Running the development server.
Application Highlights
Security: Role-Based Access Control ensures that users only access functionalities and data relevant to their role.
Scalability: Built with modern technologies to handle increasing users and complex workflows.
User-Centric Design: Responsive design with user-specific dashboards and intuitive navigation.
Live Preview: https://kinda-hms.vercel.app/
Source code: link
We provide setup and install support for free.
Conact for enquiry or demo: [email protected]
