Inspiration Traveling to India is a dream for millions, but medical emergencies can turn into nightmares—language barriers, lost records, and unfamiliar hospitals delay care. Inspired by real stories of tourists facing critical delays, we created Sanjeevani to bridge the gap between global travelers and India's healthcare system, ensuring instant, secure access to medical history for life-saving decisions.
What it does Sanjeevani is a digital medical safety platform for travelers in India. Users register their health details to get a secure QR code and ID card. Doctors scan the QR to instantly access full medical history (allergies, medications, conditions) via an encrypted system. Features include multilingual support (English, Hindi, and more via Google Translate), real-time family alerts, emergency overrides, and integration with 500+ hospitals. It reduces response times by up to 80%, providing peace of mind for 10,000+ travelers.
How we built it We built Sanjeevani using Next.js for server-side rendering and React for dynamic UI, with Framer Motion for animations. The backend includes API routes for Google Translate integration and emergency access logic. We used Tailwind CSS for styling, React Hot Toast for notifications, and localStorage for user preferences. Deployment was on Render for free hosting, with environment variables for secure API keys. The app was developed iteratively, starting with core QR scanning and expanding to multilingual features.
Challenges we ran into Hydration errors in Next.js caused initial rendering mismatches, especially with scroll-based state. Deployment on Vercel faced multiple build failures, leading us to switch to Render. Integrating Google Translate API required setting up server-side routes to avoid exposing keys, and handling async translations in React components was tricky. Multilingual caching and fallback logic added complexity, but we overcame them through debugging and API optimization.
Accomplishments that we're proud of We successfully built a fully functional, production-ready app with a clean build (13 static pages, optimized JS bundles). Key features like QR scanning, emergency access, and real-time translations work seamlessly. Deploying on Render without errors was a major win, and the app's user-friendly design (with animations and responsive UI) stands out. We're proud of creating a real-world solution that could save lives, with positive feedback on usability and security.
What we learned This project deepened our understanding of full-stack Next.js development, including SSR, API routes, and state management. We learned the importance of secure API integration (e.g., Google Translate) and handling multilingual apps with caching for performance. Debugging hydration and deployment issues taught us resilience, while user-centric design emphasized accessibility and real-world impact. Collaboration and iterative testing were key to overcoming technical hurdles.
What's next for Sanjeevani We're expanding hospital partnerships to cover all major Indian cities and adding AI-driven diagnostics for predictive alerts. Future features include mobile apps, offline QR access, and integration with travel agencies. We aim to scale globally, secure funding for advanced security (e.g., blockchain for data), and launch pilot programs with tourism boards. Sanjeevani will evolve into a comprehensive health ecosystem, making travel safer for everyone.
Built With
- apiroutes
- apis
- cloud-services
- databases
- environmentvariables
- framer
- frameworks
- google-cloud
- javascript
- localstorage
- lucidereact
- next.js
- platforms
- reacthottoast
- render
- tailwind
Log in or sign up for Devpost to join the conversation.