LifeSafe: Project Story
I built LifeSafe over five focused days with one central question in mind:
When someone may be experiencing a serious health problem, can we make the first step toward help clearer and faster?
During an emergency, people often face uncertainty. They may not recognize warning signs, may struggle with medical terminology, or may not know whether they should wait, seek professional advice, or call emergency services. Language barriers can make that uncertainty even worse.
LifeSafe was created as a response to this problem. I designed it as a multilingual, call-first health-triage prototype that keeps emergency assistance visible while guiding users through a simple and structured symptom-selection process.
The user can choose a preferred language, select the affected person’s age group, and identify observed concerns such as breathing difficulty, chest pain, possible stroke signs, severe bleeding, seizure, poisoning, snakebite, dehydration, or an urgent emotional-safety concern. The application then evaluates the selected information using deterministic red-flag rules.
A key design decision was to prioritize safety and transparency over false confidence. When a potential red flag is detected, LifeSafe immediately prioritizes emergency assistance. When no rule matches, the application does not claim that the person is safe. It presents uncertainty and encourages professional help instead of generating unsupported medical advice.
The interface was designed to be calm, accessible, and easy to understand under pressure. Emergency contact actions remain visible, the language selector supports English, Hindi, Bengali, Odia, and Hinglish, and the layout is optimized around a clear call-first experience.
Technically, I built the prototype using React, TypeScript, Vite, Zod, and Vitest. I also added automated tests covering emergency precedence, invalid inputs, infant-specific conditions, breathing problems, chest pain, stroke warning signs, severe bleeding, poisoning, dehydration, and crisis-related signals. The final project passes TypeScript validation, 46 automated tests, and the production build.
AI-assisted development tools were used during the five-day build process. However, the current submitted application does not make runtime Gemini or GPT API calls. Its shipped decision-making logic is deterministic and rule-based. This was an intentional safety and transparency choice: no generative model determines urgency, diagnoses a condition, or creates medical instructions.
This five-day project is a working prototype rather than a clinically validated medical product. The next stage would require qualified clinical review, native-language review, verified regional emergency contacts, privacy and security testing, usability evaluation, and formal validation against representative clinical cases.
LifeSafe represents my effort to combine accessible design, structured engineering, and responsible technology to make the first step toward emergency help simpler for more people.
LifeSafe is a hackathon prototype, not a medical device or substitute for professional medical advice. In a real emergency, contact local emergency services directly.
Built With
- css
- deploys
- language:-typescript-ui-framework:-react-19
- plain
- styling:
- then
- used-for-the-triage-schema-testing:-vitest
- via-a-github-actions-workflow-that-runs-a-typescript-check-and-the-tests
- with-lucide-react-for-icons-build-tool:-vite-7-validation:-zod
- with-tests-for-the-red-flag-rules-package-manager:-pnpm-deployment:-github-pages