How I built it
Emergency AI Assistant Web App
Inspiration
Emergencies can happen anytime, and access to instant help can be life-saving. Many people don’t know how to respond during critical situations like heart attacks, accidents, or sudden medical issues. I wanted to build an AI-powered assistant that can:
- Detect emergencies in real time
- Send instant alerts to emergency contacts
- Provide first-aid guidance using AI
- Share live location for better assistance
By leveraging AI, this project aims to make emergency response faster, smarter, and more accessible.
What I Learned
Building this project was a great learning experience. Some of the key takeaways include:
- Integrating AI into real-world applications (AI-powered first-aid guide)
- Working with Twilio for real-time alerts
- Building a scalable backend with Django & Django REST Framework
- Handling real-time communication using WebSockets
- Optimizing API calls for better performance and cost-efficiency
How I Built It
This project follows a full-stack approach with:
Frontend (User Interface)
Next.js (React + TypeScript) for a fast and dynamic UI CSS styling Axios for API communication WebSockets for real-time updates
Backend (Business Logic & API)
Django & Django REST Framework for handling API requests Twilio API for sending SMS & voice alerts Google Maps location sharing
APIs Used
Gemini→ AI-powered first-aid guidance Twilio API → Call-based emergency alerts Googlemap → Location sharing
Challenges I Faced
Real-time Communication → Implementing WebSockets for live updates was challenging but crucial for instant alerts. Optimizing API Calls → Managing API rate limits & costs while ensuring low latency responses was a key focus. Ensuring High Availability → Setting up a reliable backend infrastructure to prevent downtime in critical scenarios.
What's Next?
Expand AI capabilities to suggest customized first-aid steps based on user health conditions Integrate emergency services APIs to notify hospitals & responders directly Integrate voice detection with custom AI models for better accuracy Develop a mobile version for better accessibility
Built With
- gemini
- google-maps
- next.js
- twilio
Log in or sign up for Devpost to join the conversation.