The AI-Powered Health Risk Profiler is a backend application that analyzes lifestyle survey responses (typed or scanned forms) and generates a structured health risk profile. The service handles noisy inputs, missing answers, and provides guardrails for incomplete data. The output includes risk factors, risk level, and actionable, non-diagnostic recommendations.
--> Text Input: Accept JSON responses directly from users.
--> File Upload: Accept scanned images or PDFs of survey forms.
--> OCR/Text Parsing: Extract key fields from scanned forms.
--> Factor Extraction: Convert answers into health risk factors.
--> Risk Classification: Compute risk levels with scoring and rationale.
--> Recommendations: Generate actionable guidance based on the risk profile.
--> Step-wise JSON Output: Provides structured results for each processing step.
--> Frontend: React.js
--> Backend: Node.js, Express.js
--> File Uploads: Multer
--> OCR: Tesseract.js (or other OCR library)
--> CORS Support: Allows frontend-backend communication
--> Styling: CSS
- Open a terminal and navigate to the backend folder:
cd backend
npm install
Backend will run at: http://localhost:5000
2. Open another terminal and navigate to the Frontend folder:
cd frontend
npm install
npm start