MediMate is a complete full-stack AI-powered healthcare application that automates pre-consultation data collection. Built with FastAPI + React + MongoDB.
- 🔐 Secure Authentication - Role-based signup/login
- 👨⚕️ Doctor Selection - Browse and book appointments with doctors
- 💬 AI Chatbot - Interactive medical history collection with GPT-4o
- 🎤 Voice Input/Output - OpenAI Whisper & TTS
- 📸 Image Upload & Analysis - AI vision analysis of symptoms
- 📋 Appointment Management
- 📊 Dashboard - Overview of appointments and patients
- 📄 AI-Generated Summaries - Comprehensive patient summaries
- 🔍 Patient Search
- 💾 Export Summaries - Download as JSON
- 👥 Patient Management
Demo Credentials:
Patient: patient@demo.com / 12345
Doctor: doctor@demo.com / admin123
- Patient books appointment with doctor
- AI Chatbot conducts pre-consultation interview
- Patient shares symptoms via text, voice, or images
- AI generates structured medical summary
- Doctor reviews summary before appointment
- Backend: FastAPI (Python)
- Frontend: React + shadcn/ui
- Database: MongoDB
- AI: OpenAI GPT-4o, Whisper, TTS, Vision
- Auth: JWT + bcrypt
MediMate/
├── backend/
│ ├── server.py # FastAPI app
│ ├── .env # Environment variables
│ └── requirements.txt
├── frontend/
│ ├── src/
│ │ ├── pages/ # React pages
│ │ ├── context/ # Auth context
│ │ └── components/ # UI components
│ └── package.json
└── README.md
- users - Patient and doctor accounts
- appointments - Scheduled consultations
- chat_messages - AI conversation history
- summaries - AI-generated patient summaries
POST /api/auth/signup- RegisterPOST /api/auth/login- Login
GET /api/patient/doctors- List doctorsPOST /api/patient/book- Book appointment
POST /api/chat/message- Send messagePOST /api/chat/voice- Voice inputPOST /api/chat/upload- Upload imagePOST /api/chat/end- Generate summary
GET /api/doctor/appointments- List appointmentsGET /api/doctor/summary/:id- View summary
✅ Modern medical-themed UI ✅ Voice-enabled chat interface ✅ Image analysis with GPT-4o Vision ✅ Real-time AI responses ✅ Comprehensive patient summaries ✅ Role-based dashboards ✅ Responsive design
Built with ❤️ for better healthcare experiences.