A modern healthcare platform that connects patients with verified doctors for seamless appointment booking and video consultations.
- 🔐 Secure Authentication - Powered by Clerk
- 👨⚕️ Doctor Verification - Admin-approved healthcare professionals
- 📅 Smart Scheduling - Easy appointment booking with availability management
- 💬 Video Consultations - Integrated video calling via Vonage
- 💳 Credit System - Flexible payment and consultation credits
- 📱 Responsive Design - Mobile-first approach with Tailwind CSS
- 👑 Admin Dashboard - Comprehensive management tools
- Framework: Next.js 15
- Database: PostgreSQL with Prisma ORM
- Authentication: Clerk
- UI Components: Radix UI + Tailwind CSS
- Video Calling: Vonage/OpenTok
- Deployment: Ready for Vercel/Netlify
-
Clone the repository
git clone https://github.com/Aashish-Jha-11/MediBridge.git cd MediBridge -
Install dependencies
npm install
-
Set up environment variables
cp .env.example .env.local
Configure your
.env.local:DATABASE_URL="your_postgresql_url" NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY="your_clerk_key" CLERK_SECRET_KEY="your_clerk_secret" VONAGE_API_KEY="your_vonage_key" VONAGE_API_SECRET="your_vonage_secret"
-
Set up the database
npx prisma migrate dev npx prisma generate
-
Start the development server
npm run dev
Visit http://localhost:3000 to see the application.
- Patients: Book appointments, join video calls, manage credits
- Doctors: Set availability, conduct consultations, track earnings
- Admins: Verify doctors, manage payouts, oversee platform
Key models include:
- User - Patients, doctors, and admins
- Appointment - Booking and consultation records
- Availability - Doctor scheduling
- CreditTransaction - Payment tracking
- Payout - Doctor earnings management
This project is licensed under the MIT License - see the LICENSE file for details.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
For support or questions, please open an issue on GitHub.
Built for better healthcare accessibility