Skip to content

Repository files navigation

SanctuaryHealth 🏥

Know what your health will cost — before it costs you everything.

SanctuaryHealth is a web tool that helps low-income Nigerians find out the cost of treatment before visiting a clinic — reducing cost-related health avoidance and dangerous self-medication.

Built during the Studio1 LaunchPad Cohort 2 Hackathon by Team 2 (MedTech).


The Problem

Many Nigerians avoid hospitals because they can't predict what a visit will cost. When cost is uncertain, people default to roadside chemists, self-medication, or doing nothing — leading to preventable deaths.


The Solution

A simple, no-login web tool where a user inputs their symptoms and gets:

  • 💰 Estimated treatment costs at nearby clinics and hospitals
  • 🏥 Affordable alternatives — generic drugs, PHCs, community health workers
  • 🏠 Home care guidance for minor, non-emergency conditions

Features

Feature Description
Symptom Input Type or select symptoms in plain language — no medical jargon
Condition Matching Maps symptoms to likely conditions via a pre-built database
Cost Estimate Shows consultation fee, drug costs, and test fees at nearby facilities
Affordable Alternatives Suggests PHCs, generic drugs, and CHWs as cheaper options
Home Care Layer Safe self-care steps for minor conditions with medical disclaimer
Location (Optional) User can consent to share location for nearby facility results

Tech Stack

Layer Technology
Frontend React.js + JavaScript
Styling CSS (App.css + index.css)
Build Tool Vite
Linting ESLint
Deployment Vercel

Getting Started

Prerequisites

  • Node.js v18+
  • npm

Installation

# Clone the repository
git clone https://github.com/yustech-alt/SanctuaryHealth.git

# Navigate into the project
cd SanctuaryHealth

# Install dependencies
npm install

Environment Variables

Create a .env file in the root directory:

VITE_SUPABASE_URL=your_supabase_url
VITE_SUPABASE_ANON_KEY=your_supabase_anon_key
VITE_GOOGLE_MAPS_API_KEY=your_google_maps_key

Run Locally

# Start the development server
npm run dev

Open http://localhost:5173 in your browser.

Build for Production

npm run build

Project Structure

SanctuaryHealth/
├── public/
│   └── icons.svg
├── src/
│   ├── assets/          # Images, icons, static files
│   ├── data/            # Static data — conditions, drugs, facilities
│   ├── Features/        # Feature-based components (symptom input, cost engine, etc.)
│   ├── pages/           # Page-level components (Home, Results, About, etc.)
│   ├── services/        # API calls and business logic
│   ├── ui/              # Reusable UI components (buttons, cards, inputs)
│   ├── util/            # Helper functions and utilities
│   ├── App.jsx          # Root component and routing
│   ├── App.css          # Global styles
│   ├── main.jsx         # App entry point
│   └── index.css        # Base styles
├── index.html
├── vite.config.js
├── eslint.config.js
├── package.json
└── README.md

Data Sources

  • Manual clinic outreach — 10–15 facilities in Ilorin (pilot dataset)
  • Kwara State PHC pricing schedules
  • NAFDAC drug price lists
  • NHIS guidelines
  • Pharmacy surveys — generic vs branded drug prices

Team

Name Role
Yusuf Olatunji Balogun PM Lead
TBD Designer
TBD Frontend Developer
TBD Backend Developer
TBD Researcher

Sprint

Studio1 LaunchPad Cohort 2 Hackathon 2 weeks · April 7 – April 21, 2026


Disclaimer

SanctuaryHealth is strictly an informational tool. It does not issue medical prescriptions or diagnoses. Always consult a qualified healthcare professional for medical advice.


License

MIT License — free to use, modify, and distribute.

About

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages