E-Pay
Care Now, Pay Later
The problem E-Pay solves
During medical emergencies, many patients don’t get timely treatment—not because they can’t afford healthcare, but because they can’t arrange money immediately. Insurance approvals take time, cashless hospitals are limited, and personal loans are too slow for emergencies. Hospitals often ask for upfront payments, causing dangerous delays when every minute matters. This gap between urgent medical needs and instant access to funds puts lives at risk and needs a faster, emergency-ready financial solution.
Challenges we ran into
-
Integrating Google OAuth and Managing Authentication State
We faced issues where users stayed logged in even after logout due to session persistence. Handling Firebase authentication, token clearing, and protected routes required multiple fixes and testing. -
Performance Issues Due to Heavy Landing Page Animations
The scroll-based animations, moving rupee indicator, and section effects initially caused lag and frame drops. We had to optimize rendering, reduce DOM updates, and fine-tune animation timing. -
Ensuring Responsive UI/UX Across Different Screen Sizes
Animations and layout behaved differently on laptops, tablets, and smaller screens. We spent time adjusting breakpoints, scaling elements, and ensuring a consistent visual experience. -
Implementing Role-Based Navigation and Route Protection
Managing different user flows for patients, hospitals, and admins was challenging. We had to correctly configure routing, guard restricted pages, and maintain authentication state across pages. -
Balancing Minimal Input with Proper Data Validation
We wanted a fast emergency credit flow but also needed valid and reliable data. Finding the right balance between fewer input steps and proper validation was a key challenge.
Technologies used
