AI-powered health triage & hospital navigation — get the right care, fast.
CareRoute is a lightweight, browser-based web app that helps users quickly assess how serious their symptoms are and find nearby hospitals — all without leaving a single page.
Describe your symptoms, share your location, and CareRoute instantly returns an AI-generated severity rating, personalized action steps, and a live map of hospitals near you with one-tap directions.
- 🤖 AI Severity Assessment — classifies symptoms as Low, Moderate, High, or Emergency using an AI-powered backend
- 📋 Personalized Action Steps — tailored guidance based on what the user describes
- 🗺️ Live Hospital Finder — fetches nearby hospitals in real time from OpenStreetMap
- 📍 Interactive Map — visualizes hospitals relative to the user's current location
- 🧭 One-tap Directions — links directly to Google Maps for turn-by-turn navigation
| Layer | Technology |
|---|---|
| Frontend | HTML, CSS, Vanilla JavaScript |
| AI Backend | Node.js serverless functions (/api) |
| Map Data | OpenStreetMap (Overpass API) |
| Directions | Google Maps |
| Deployment | Vercel |
CareRoute/
├── index.html # Main application UI
├── style.css # Styling and layout
├── app.js # Frontend logic (symptom input, map rendering, API calls)
├── logo.svg # App logo
├── vercel.json # Vercel deployment configuration
└── api/ # Serverless backend functions (AI triage logic)
- Node.js v18+
- Vercel CLI (for local development with serverless functions)
# Clone the repository
git clone https://github.com/vatsalawasthi/CareRoute.git
cd CareRoute
# Install Vercel CLI if you haven't already
npm install -g vercel
# Start the local dev server (serves frontend + API routes)
vercel devThen open http://localhost:3000 in your browser.
vercelOr connect the repository directly in the Vercel dashboard for automatic deployments on every push.
- User describes symptoms in the text input.
- Frontend sends the description to the
/apiserverless function. - AI backend processes the input and returns a severity level + recommended action steps.
- Browser requests the user's geolocation, then queries the Overpass API for nearby hospitals.
- Results render on an interactive map, with each hospital listed and linkable to Google Maps directions.
Pull requests are welcome. For major changes, please open an issue first to discuss what you'd like to change.
- Fork the repo
- Create a feature branch (
git checkout -b feature/your-feature) - Commit your changes (
git commit -m 'Add your feature') - Push to the branch (
git push origin feature/your-feature) - Open a Pull Request
CareRoute is an informational tool and is not a substitute for professional medical advice, diagnosis, or treatment. If you believe you are experiencing a medical emergency, call your local emergency services immediately.
This project is open source. See LICENSE for details.