How ganadharshan/hidoctor works
HiDoctor lets a patient describe symptoms in a React chat, sends the conversation to the backend, and returns Groq-generated general triage guidance to the chat. The backend supplies instructions to ask clarifying questions, suggest levels of care, avoid diagnosis, and recommend professional advice. The frontend source shows the deployed chat URL; the backend excerpt shows its matching chat route and Groq call. Other documented UI details and deployment behavior are not mapped as separate components.
Main entry points: App.js Chat interface · server.js Chat endpoint
Components 4
Chat experience
- Chat interface
symptom-checker/src/App.js
Triage service
- Chat endpoint
backend/server.js
Other components
- Patient
- Groq AI API
Connections 6
- Patient → Chat interface: describes symptoms
symptom-checker/src/App.js - Chat interface → Chat endpoint: posts messages
symptom-checker/src/App.js - Chat endpoint → Groq AI API: requests completion
backend/server.js - Groq AI API → Chat endpoint: returns completion
backend/server.js - Chat endpoint → Chat interface: returns reply
backend/server.js - Chat interface → Patient: shows conversation
symptom-checker/src/App.js