A modern, role-based healthcare management platform designed to connect patients, doctors, and administrators in a secure, scalable system.
Built with a focus on clean UI, strict role control, and real-world workflow simulation, Prescripta provides a foundation for digital healthcare platforms.
- Secure login & signup system
- Email verification flow
- Manual admin verification support
- Role-based access control (RBAC)
-
Admin
- Manage users
- Verify accounts manually
- Assign or change roles (Doctor / Patient)
- Delete users (with restrictions)
-
Doctor
- Maintain professional profile
- Add specialties, degrees, designations
- Manage chamber information
-
Patient
- Access platform services
- Interact with system features (expandable)
- Prevents self-role modification
- Protects admin accounts from deletion
- Preserves doctor profile data even after role downgrade
- Validates doctor profiles before role conversion
-
Paginated user table
-
Bulk actions:
- Change roles
- Delete users
- Verify users
-
Advanced UI interactions (modals, tooltips, selection logic)
- Dark theme with emerald accent
- Glassmorphism-inspired design
- Responsive layout
- Built using modern component systems (shadcn-style UI)
- Next.js (App Router)
- React
- Tailwind CSS
- shadcn/ui components
- Zustand (state management)
- Node.js
- Express.js
- MongoDB (Mongoose)
- JWT Authentication (httpOnly cookies)
- Email service integration (verification + welcome emails)
/frontend
/src
/app
/components
/store
/utils
/backend
/controllers
/models
/routes
/middleware
-
Doctor Profile Validation
- Requires specialties, degrees, chambers, and contact info
- Prevents incomplete professional data
-
Admin Restrictions
- Cannot delete themselves
- Cannot modify other admins
- Controlled role transitions
-
Data Sanitization
- Cleaned and structured user responses
- Safe exposure of user data to frontend
- Appointment booking system
- Prescription management
- Real-time chat between doctor and patient
- File uploads (medical reports)
- Analytics dashboard for admins
- Cloud deployment (AWS / Vercel)
Maruf Shahriar
This project is built not just as a demo, but as a realistic system design exercise — focusing on how roles, permissions, and workflows behave in actual production environments.