Heart Disease Prediction App
A guided, clinician-friendly interface for estimating cardiovascular disease risk in seconds.

Why Heart Disease Prediction App?
Cardiovascular disease is the leading cause of death worldwide, yet many validated risk models stay locked inside research notebooks or spreadsheets that are impractical to use during a real consultation.
I wanted to put a trained classification model in front of an interface that any clinician or researcher could use in seconds, without needing to touch a line of code.
What it does
CardioPredictor takes standard clinical inputs such as demographics, vitals, ECG findings, and stress-test results, through a short guided form.
It returns a clear, instant probability estimate for cardiovascular disease, styled for quick scanning during a consultation.


How I built it
The app is a Next.js frontend that talks to a dedicated FastAPI service (the AI/ML Heart Disease Prediction API) over REST, keeping the interface and the model fully decoupled.
- Frontend
- Next.js + Tailwind CSS
- API layer
- REST calls to a FastAPI backend
- Deployment
- Vercel
Challenges I ran into
- Translating dense clinical fields into a form non-specialists could still fill out correctly.
- Validating and normalizing inputs client-side before sending them to the model API.
- Designing loading and error states that felt trustworthy for a health-related tool.
Accomplishments I am proud of
Guided, jargon-light input flow
Clinical fields are grouped and labeled so the form reads clearly even to non-specialists.
Real-time risk results
Probability estimates render instantly after submission, styled for fast clinical scanning.
End-to-end ML integration
Fully wired to a live, independently deployed classification API rather than a mocked response.
What I learned
- How much interface design matters for trust in health-related tools, the same model feels very different behind a confusing form versus a guided one.
- The value of decoupling frontend and backend so the model can keep iterating independently of the UI.
What's next
- Support multiple languages for broader clinical use.