MED PROJEKTI
Hospital Management System
A comprehensive, enterprise-grade ERP platform designed for hospitals. Manage HR, payroll, attendance, leave, pharmacy, OPD, inventory, and more — all in one unified, secure system.
Technology Stack
System Architecture
Next.js SSR/CSR hybrid, Tailwind CSS, Responsive UI components
Laravel REST API, JWT Auth, RBAC Middleware, Business Logic
PostgreSQL, Eloquent ORM, Migrations, Optimized Queries
Authentication & Login
Secure, role-based authentication ensures only authorized medical professionals can access the system. JWT tokens provide stateless, scalable session management across all modules.
Stateless authentication with secure token refresh cycles
Download the companion Android app for on-the-go access
Permissions enforced at every API endpoint and UI route
HRM Dashboard
The central command center for Human Resource Management. Real-time KPIs give managers instant visibility into workforce status, attendance, and pending actions.
Employee Management
Full lifecycle management of hospital staff — from onboarding to resignation. Advanced filtering by department, blood group, designation, and searchable by ID, name, or phone.
User Profile & Role-Based Access
Each user has a profile with granular permission assignments. RBAC ensures each role sees and can do only what they're authorized for — enforced on both frontend routes and API endpoints.
Leave Management
A complete leave lifecycle system supporting multiple leave types with balance tracking, approval workflows, and formal leave application documents in Bangla.
Roster & Shift Scheduling
Flexible weekly roster management supporting Day and Night shifts. Assign, edit, and save shift times per employee per day — with off-day designation and historical tracking.
Attendance Reporting
Powerful attendance analytics with daily status (Present, Absent, Late, Off Day), overtime calculations, working hours tracking, and department-wise aggregated reports.
Salary Management
Automated monthly salary generation with configurable allowances, deductions, PF, overtime calculations, and absence deductions — with Excel export and a full-screen salary sheet view.
| Component | Type | Description |
|---|---|---|
| Basic Salary | Earning | Base monthly compensation |
| House Rent | Earning | Housing allowance |
| Medical Allowance | Earning | Health-related allowance |
| Conveyance | Earning | Transport allowance |
| Overtime (OT) | Addition | Extra duty compensation |
| PF Office (10%) | Deduction | Provident fund — employer share |
| PF Staff (12%) | Deduction | Provident fund — employee share |
| Loan Installment | Deduction | Monthly loan repayment |
Payslips
Generate, view, and distribute individual payslips. Support for Bank, Cash, or Both payment methods with configurable amounts and printable PDF export.
Loan Management
Employees can apply for loans through the system. Managers approve, reject, or track repayment. Monthly deductions are automatically linked to salary generation.
Employee submits loan request with purpose and installment plan
Manager reviews and approves or rejects via admin panel
Monthly installments auto-deducted during salary generation with remaining balance tracking
All System Modules
MED PROJEKTI is a full-spectrum hospital ERP. Beyond HRM, it covers Pharmacy, Inventory, Hospital (IPD), Canteen, and OPD — all accessible from the top navigation bar.
Employees, Leave, Roster, Attendance, Salary, Payslips, Loans
Drug inventory, dispensing, stock alerts, billing integration
Medical supplies, equipment tracking, purchase orders, stock management
Inpatient management, bed allocation, ward management, discharge
Staff meal management, orders, billing, dietary tracking
Outpatient registration, appointment scheduling, doctor assignments
Security & Access Control
Enterprise-grade security with JWT-based authentication, granular role-based permissions, and API-level authorization middleware ensuring data privacy across all modules.
- JWT stateless authentication with configurable token expiry
- Role-Based Access Control (RBAC) at route and API level
- Password encryption with bcrypt hashing
- Audit log trail for all critical operations
- CORS policy enforcement and rate limiting
Deployment & Infrastructure
Designed for cloud or VPS deployment with a scalable, container-friendly architecture. Supports major cloud providers and on-premise hospital IT infrastructure.
| Component | Minimum | Recommended |
|---|---|---|
| CPU | 2 vCPU | 4+ vCPU |
| RAM | 4 GB | 8 GB+ |
| Storage | 50 GB SSD | 200 GB+ SSD |
| Database | PostgreSQL 14 | PostgreSQL 15+ with replication |
| Node.js | 18.x LTS | 20.x LTS |
| PHP | 8.2 | 8.3 |