How mouryakotha/nexus__care works
Nexus Care is a patient-facing healthcare platform backed by an Express/MongoDB API. The documented user journey includes AI health guidance, specialist consultations and appointments, medical-text simplification, and reminders; the repository also includes family-care insights, community moderation, and related health features. The graph shows verified API dispatch and sampled backend calls. Several frontend and backend routes are present in the tree but were not sampled, so their internal wiring is not asserted.
Main entry points: voiceController.js Voice assistant · familyRoutes.js Family care API · appointmentRoutes.js Appointment API · HealthTimeline.js Health timeline
Components 28
Patient experience
- Symptom checker
src/js/aisymtom.js - Telemedicine
src/js/onlinetelemedince.js - Appointments
src/js/appointment.js - MediTranslate
src/js/meditranslate.js - AI Mentor
src/js/ai-mentor.js - Emergency dialer
src/js/emergency.js - Reminders
src/js/reminder.js
API and care workflows
- Express server
backend/server.js - Appointment API
backend/routes/appointmentRoutes.js - Review API
backend/routes/reviewRoutes.js - Review handler
backend/controllers/reviewController.js - Family care API
backend/routes/familyRoutes.js - Authentication
backend/middleware/authMiddleware.js - Notifications
backend/services/notificationService.js
AI and analytics
- AI controller
backend/controllers/aiController.js - Voice assistant
backend/controllers/voiceController.js - Gemini service
backend/ai/gemini/geminiService.js - Risk analysis
backend/services/riskEngine.js - Care insights
backend/services/insightEngine.js
Healthcare data
- User records
backend/models/User.js - Appointment records
backend/models/Appointment.js - Health timeline
backend/models/HealthTimeline.js - AI conversations
backend/models/Conversation.js - Cognitive logs
backend/models/CognitiveLog.js - Community discussions
backend/models/Discussion.js - Review records
backend/models/Review.js - Family members
backend/models/FamilyMember.js
Other components
- Patient
Connections 32
- Patient → Symptom checker: checks symptoms
README.md - Patient → Telemedicine: books consultations
README.md - Patient → Appointments: manages appointments
README.md - Patient → MediTranslate: simplifies text
README.md - Patient → AI Mentor: gets guidance
README.md - Patient → Emergency dialer: calls emergency
README.md - Patient → Reminders: tracks tasks
README.md - Express server → Appointment API: routes requests
backend/server.js - Express server → Review API: routes requests
backend/server.js - Express server → Family care API: routes requests
- Appointment API → Authentication: checks access
backend/routes/appointmentRoutes.js - Appointment API → Appointment records: stores bookings
backend/routes/appointmentRoutes.js - Appointment API → Notifications: sends confirmation
backend/routes/appointmentRoutes.js - Review API → Review handler: dispatches requests
backend/routes/reviewRoutes.js - Review handler → Review records: reads and writes
backend/controllers/reviewController.js - Authentication → User records: loads user
backend/middleware/authMiddleware.js - Family care API → Risk analysis: calculates risk
backend/routes/familyRoutes.js - Family care API → Care insights: generates insights
backend/routes/familyRoutes.js - Family care API → Health timeline: queries timeline
backend/routes/familyRoutes.js - Family care API → Family members: queries members
backend/routes/familyRoutes.js - Risk analysis → Health timeline: reads events
backend/services/riskEngine.js - Care insights → Health timeline: reads history
backend/services/insightEngine.js - AI controller → Gemini service: requests generation
backend/controllers/aiController.js - AI controller → AI conversations: uses conversations
backend/controllers/aiController.js - AI controller → Cognitive logs: uses cognitive logs
backend/controllers/aiController.js - Voice assistant → Gemini service: routes intent
backend/controllers/voiceController.js - Voice assistant → Appointment records: books appointments
backend/controllers/voiceController.js - Voice assistant → AI conversations: deletes history
backend/controllers/voiceController.js - Voice assistant → Health timeline: saves speech metrics
backend/controllers/voiceController.js - Voice assistant → Appointment records: looks up appointments
backend/controllers/voiceController.js - Voice assistant → Community discussions: moderates posts
- Gemini service → Community discussions: moderates posts
backend/routes/communityRoutes.js