A full-stack healthcare management application built using Next.js, Prisma, Clerk, and Tailwind CSS. It streamlines appointment booking, user authentication, doctor-patient interactions, and admin operations in a modern and responsive UI.
- 🔐 Secure Authentication with Clerk (Patients, Doctors, Admins)
- 📅 Book and Manage Appointments
- 👨⚕️ Doctor Profile & Scheduling Management
- 📄 Medical Records and Patient History
- 📊 Dashboard for Admin Analytics
- 💬 Real-Time Feedback & Reviews
- 🎨 Responsive UI with Tailwind CSS
- 🌐 Role-based Routing Middleware
| Frontend | Backend | Database | Auth | Styling |
|---|---|---|---|---|
| Next.js 14 | Prisma ORM | PostgreSQL | Clerk | Tailwind CSS |
| React | Next.js Middleware | JWT (via Clerk) | Radix UI |
/app → Next.js app directory with routes
/components → Reusable UI components
/lib → Utility functions and constants
/prisma → Prisma schema and migrations
/public → Static assets
/styles → Global styles
git clone https://github.com/your-username/healthcare.git
cd healthcarenpm installCreate a .env file and add:
DATABASE_URL=postgresql://user:password@localhost:5432/healthcare
CLERK_PUBLISHABLE_KEY=your_clerk_publishable_key
CLERK_SECRET_KEY=your_clerk_secret_key
NEXT_PUBLIC_CLERK_FRONTEND_API=your_clerk_frontend_apinpx prisma migrate dev --name init
npx prisma db seed
npx prisma studio # optional UI for DBnpm run devVisit http://localhost:3000 🚀
To be added: Cypress / Playwright tests for role-based dashboards.
Feel free to fork this repo, open issues, or submit PRs to improve features, design, or performance.