A comprehensive healthcare platform connecting patients, doctors, and pharmacies with AI-powered features, real-time video consultations, emergency services, and more.
- 🤖 AI-Powered Symptom Checker - Multi-AI provider support (Llama 3, OpenAI, Gemini)
- 💬 ChatDoc - AI doctor assistant with real-time chat
- 📹 Video Consultations - WebRTC-based video calls with Jitsi fallback
- 🚨 Emergency SOS - One-tap emergency alert system
- 💊 Medicine Ordering - Order medicines from local pharmacies
- 📱 Digital Health ID - Secure medical records and history
- 🎤 Voice Assistant - Voice-activated features
- 💳 Payment Integration - Stripe payment processing
- 🔔 Push Notifications - Real-time alerts and reminders
- 🌐 Multi-language - English, Hindi, Punjabi support
- Node.js 18+ and npm 9+
- PostgreSQL 12+
- Redis 6+
-
Clone the repository
git clone <repository-url> cd MediLink
-
Install dependencies
npm install cd backend && npm install && cd ..
-
Set up environment variables
cp env.example .env.local # Edit .env.local with your configuration -
Set up database
createdb medilink psql -U postgres -d medilink -f backend/database/schema.sql
-
Start services
# Terminal 1: Redis redis-server # Terminal 2: Backend cd backend && npm run dev # Terminal 3: Frontend npm run dev
-
Access the application
- Frontend: http://localhost:3000
- Backend API: http://localhost:5000/api
For detailed setup instructions, see QUICK_START.md.
- Complete Documentation - Comprehensive guide covering all aspects
- Quick Start Guide - Get started in 5 minutes
- Backend API - Complete API reference
- Backend Setup - Backend architecture and setup
- AI Integration - AI service configuration
- Deployment Guide - Deploy to Vercel
- Backend Features - Backend features documentation
- Frontend: Next.js 15, React 18, TypeScript, Tailwind CSS
- Backend: Express.js, PostgreSQL, Redis
- Real-time: WebSocket, Server-Sent Events, WebRTC
- AI: Google Genkit, OpenAI, Google Gemini, Llama 3
- Payments: Stripe
- Notifications: Firebase Cloud Messaging
- Storage: Cloudinary
- Next.js 15.3.3
- React 18.3.1
- TypeScript
- Tailwind CSS
- Radix UI / shadcn/ui
- Framer Motion
- React Hook Form + Zod
- Express.js
- PostgreSQL
- Redis
- JWT Authentication
- BCrypt
- Cloudinary
- Nodemailer
MediLink/
├── src/ # Frontend source code
│ ├── app/ # Next.js pages
│ ├── components/ # React components
│ ├── lib/ # Utility libraries
│ └── locales/ # Translation files
├── backend/ # Backend API
│ ├── src/ # Source code
│ └── database/ # Database schema
└── docs/ # Documentation
- JWT-based authentication
- BCrypt password hashing
- Rate limiting
- Input validation
- CORS configuration
- Security headers (Helmet.js)
- HTTPS/TLS encryption
# Frontend development
npm run dev
# Backend development
cd backend && npm run dev
# Type checking
npm run typecheck
# Linting
npm run lint
# Build for production
npm run buildnpm run dev- Start development servernpm run build- Build for productionnpm run start- Start production servernpm run lint- Run ESLintnpm run typecheck- TypeScript type checkingnpm run genkit:dev- Start Genkit AI dev server
See VERCEL_DEPLOYMENT.md for detailed instructions.
Deploy to VPS, Railway, Render, or any Node.js hosting platform.
- Fork the repository
- Create a feature branch
- Make your changes
- Test thoroughly
- Submit a pull request
[Add your license information here]
- Documentation: See DOCUMENTATION.md
- Issues: [GitHub Issues]
- Email: [Support Email]
- Next.js team for the amazing framework
- All open-source contributors
- Healthcare professionals for feedback
Made with ❤️ for better healthcare accessibility