HealthGuard is a full-stack, AI-powered health monitoring application. It allows users to securely track their symptoms, receive intelligent lifestyle enhancement plans, and scan medical reports to automatically extract and analyze data.
The architecture is split into three robust tiers:
- Frontend: React (Vite) + TailwindCSS
- Backend (API & Auth): Node.js + Express + MongoDB
- AI Engine (OCR & Inference): Python + FastAPI + PyTesseract + Fireworks AI
The Node.js backend handles all standard authorization routing, and natively proxies AI requests seamlessly to the local Python FastAPI server to leverage Python's rich ecosystem for document parsing and OCR.
- Node.js (v18+)
- Python (v3.10+)
- Tesseract OCR (e.g.,
brew install tesseracton Mac orapt-get install tesseract-ocron Linux) - MongoDB Database (Local or Atlas)
- Fireworks API Key
Copy the .env.example files in each sub-directory to .env and fill in your credentials:
Health_Gaurd-Frontend/.envHealth_Gaurd-Backend/.envServer/.env
(Note: The Node.js backend features an Offline Mode. If MongoDB is unavailable or fails to connect, it will gracefully fall back to an in-memory database allowing you to easily test the AI features without a persistent database!)
We've provided a simple bash script to boot the entire stack consistently:
chmod +x start.sh
./start.shThis starts:
- React Frontend on port
5173 - Node.js Proxy on port
8080 - Python FastAPI on port
5500
Press Ctrl+C in the terminal to gracefully terminate all 3 apps simultaneously.