#Healthcare Express šŸ„

A web application that helps patients find and access emergency healthcare services based on their location.

Features

  • Location-based Emergency Services: Automatically detects user location or allows manual entry
  • Emergency Service Types: Hospitals, urgent care centers, pharmacies, and emergency rooms
  • Real-time Information: Contact details, directions, and basic service information
  • Emergency Contacts: Quick access to emergency numbers (999, poison control, etc.)
  • Accessibility: Mobile-friendly design for emergency situations

Project Structure

ā”œā”€ā”€ backend/
│   ā”œā”€ā”€ index.ts             # Main Hono server
│   └── routes/
│       └── healthcare.ts    # Healthcare service endpoints
ā”œā”€ā”€ frontend/
│   ā”œā”€ā”€ index.html          # Main HTML template
│   ā”œā”€ā”€ index.tsx           # React frontend entry point
│   ā”œā”€ā”€ components/
│   │   ā”œā”€ā”€ App.tsx         # Main app component
│   │   ā”œā”€ā”€ LocationInput.tsx
│   │   ā”œā”€ā”€ ServiceList.tsx
│   │   └── EmergencyContacts.tsx
│   └── style.css           # Custom styles
└── shared/
    └── types.ts            # Shared TypeScript types

Usage

  1. Visit the main application at the HTTP endpoint
  2. Allow location access or manually enter your location
  3. View nearby emergency healthcare services
  4. Get directions and contact information
  5. Access emergency contact numbers

Technology Stack

  • Backend: Hono (TypeScript)
  • Frontend: React with TypeScript
  • Styling: TailwindCSS
  • APIs: Overpass API (OpenStreetMap) for healthcare facility data
  • Geolocation: Browser Geolocation API

Emergency Services Covered

  • Hospitals
  • Emergency Rooms
  • Urgent Care Centers
  • Pharmacies
  • Walk-in Clinics