System Architecture
Frontend (Nginx + React)
Static frontend served by Nginx (container). UI uses React via CDN, Chart.js for analytics, and Font Awesome for icons.
Backend (FastAPI + Uvicorn)
Python 3.11 backend built with FastAPI, served by Uvicorn — exposes `/chat`, `/symptom-check`, and other API endpoints.
LLM Integrations
AI layer integrates with Groq (preferred) and OpenAI as fallback to generate health-aware responses; keys managed via `.env`.
Primary Data Store (PostgreSQL)
Postgres holds user records, vaccination history, and analytics data; configured as a service in Docker Compose.
Cache & Sessions (Redis)
Redis used for caching and session data to speed up responses and reduce load on the primary database.
Containerization (Docker Compose)
Services (frontend, backend, db, redis) are orchestrated with Docker Compose for local development and testing.
Key Features
Multilingual Support
Native support for English, हिंदी, বাংলা, ಕನ್ನಡ, and ଓଡ଼ିଆ with automatic language detection and seamless switching capabilities.
Disease Symptom Checker
AI-powered symptom analysis with decision tree logic to provide preliminary health assessments and recommend appropriate action levels.
Vaccination Schedule Tracker
Personalized vaccination reminders for children and adults, integrated with government immunization schedules and outbreak-specific vaccines.
Preventive Healthcare Tips
Daily health tips, seasonal disease prevention advice, and lifestyle recommendations tailored to regional health challenges and climate conditions.
Outbreak Alerts
Real-time notifications about disease outbreaks, epidemiological updates, and location-specific health advisories from official health authorities.
Emergency Contact Integration
Quick access to emergency services, nearby healthcare facilities, and telemedicine consultations with automatic location-based recommendations.
Health Record Management
Secure digital health records with vaccination history, medication tracking, and appointment scheduling with privacy-first architecture.
Privacy & Security
End-to-end encryption, HIPAA compliance, and data minimization principles to ensure user privacy and regulatory compliance.
Interactive Chatbot Prototype
Experience the AI-powered health assistant in action with multilingual support
DrBuddy Assistant
Online • Multilingual Support Available