How alok-kumar2024/aura-health works
AuraHealth’s primary workflow accepts medication and meal input, identifies foods (from text or an image), checks drug–food relationships in Neo4j, and returns risk details with patient-friendly explanations. Separate services recognize drugs in prescription images and store/retrieve interaction history. The README also describes a Flutter mobile app, safer-food suggestions, and EHR-oriented design; the available tree has no Dart application source, so app-to-service links are shown as unverified. The two graph APIs appear to be alternate implementations. Some service internals were not sampled, so their connections are limited to documented or indexed evidence.
Main entry points: index.js History API · graph_api/main.py Meal Check API · graph_api1/main.py Image Meal API · aura_health Flutter App
Components 17
Meal Interaction
- Meal Check API
graph_api/main.py - Image Meal API
graph_api1/main.py - Food Detection
graph_api1/vision.py - Interaction Lookup
graph_api/db.py - Drug Food Graph
- Patient Explanation
graph_api/ai_explainer.py
Prescription OCR
- Prescription API
prescription_image_ocr/main.py - Text Extraction
prescription_image_ocr/ocr_utils.py - Drug Catalog
prescription_image_ocr/db.py
Interaction History
- History API
historyBackend/index.js - Interaction Records
historyBackend/user.js - Mongo Connection
historyBackend/database.js
Mobile Client
- Flutter App
mobile-app/aura_health
Other components
- Patient
- LLM Service
- MongoDB
- EHR Systems
Connections 21
- Patient → Meal Check API: submits meal
graph_api/main.py - Meal Check API → Interaction Lookup: checks food
graph_api/main.py - Interaction Lookup → Drug Food Graph: queries graph
graph_api/db.py - Meal Check API → Patient Explanation: requests explanation
graph_api/main.py - Patient Explanation → LLM Service: generates text
graph_api/ai_explainer.py - Patient → Image Meal API: submits meal
graph_api1/main.py - Image Meal API → Food Detection: detects foods
graph_api1/main.py - Image Meal API → Interaction Lookup: checks food
graph_api1/main.py - Image Meal API → Patient Explanation: requests explanation
graph_api1/main.py - Patient → Prescription API: uploads prescription
prescription_image_ocr/main.py - Prescription API → Text Extraction: extracts drug names
prescription_image_ocr/main.py - Prescription API → Drug Catalog: loads known drugs
prescription_image_ocr/main.py - Patient → History API: requests history
historyBackend/index.js - History API → Meal Check API: fetches checks
historyBackend/index.js - History API → Interaction Records: stores and reads
historyBackend/index.js - History API → Mongo Connection: connects database
historyBackend/index.js - Mongo Connection → MongoDB: connects
historyBackend/database.js - Flutter App → Meal Check API: may call API
- Flutter App → Prescription API: may call API
- Flutter App → History API: may call API
- EHR Systems → Flutter App: future integration