AI-powered healthcare triage and clinic navigation for Kenya.
# CareCompass
> AI-powered healthcare triage and clinic navigation for Kenya.
CareCompass helps patients understand their symptoms and find the right level of care — pharmacy, clinic, or emergency room — in seconds. The platform combines an AI triage engine with a real-time directory of healthcare facilities, all optimised for the Kenyan healthcare context.
---
## Features
- **AI Symptom Checker** — multi-step triage flow (profile → symptoms → AI chat) with clinician-verified response logic
- **Clinic Finder** — searchable directory with live wait times, distance, cost range, and verified badges
- **Emergency Routing** — prominent 999 callouts and an emergency information page with Nairobi-specific contacts
- **Progressive Web App** — installable on mobile via `next-pwa`, works offline for static content
- **Full content site** — 20+ pages covering legal, support, blog, API docs, careers, and partnerships
- **Responsive** — fully tested across mobile, tablet, and desktop breakpoints
---
## Tech Stack
| Layer | Technology |
|---|---|
| Framework | Next.js 16 (App Router) |
| Language | TypeScript 5 (strict mode) |
| Styling | Tailwind CSS v4 with custom design tokens |
| Animations | Framer Motion v12 |
| Icons | Lucide React |
| UI Primitives | Radix UI (Dialog, Select, Tabs, Progress) |
| AI Backend | Anthropic Claude API (via `/api/triage`) |
| Database / Auth | Supabase |
| Maps | SVG-rendered map (no external dependency); Mapbox token ready |
| PWA | next-pwa |
---
## Project Structure
```
carecompass/
├── app/
│ ├── (main)/ # Public-facing pages (Navbar + Footer layout)
│ │ ├── page.tsx # Landing page
│ │ ├── check/ # AI triage flow
│ │ ├── results/ # Triage results + clinic list
│ │ ├── clinics/ # Clinic directory + [id] detail
│ │ ├── about/
│ │ ├── contact/
│ │ ├── blog/
│ │ ├── careers/
│ │ ├── docs/ # API documentation
│ │ ├── emergency/
│ …