Care-Glide is a geo-location aware emergency response system designed to assist senior citizens living alone by instantly connecting them with the nearest available nurse.
Built using the MERN stack and AWS services, the system ensures fast, reliable, and intelligent nurse allocation during emergencies.
Patients (especially senior citizens) living alone may face emergencies such as:
- Sudden health deterioration
- Falls or accidents
- Urgent medical needs
In such situations, immediate assistance is critical.
Care-Glide solves this by:
- Identifying the nearest nurse in real-time
- Calculating fastest route using geo-data
- Automatically notifying nurses until one accepts
- One-click emergency alert trigger
- Automatic location detection (GPS)
- Real-time tracking of assigned nurse
- Emergency status updates
- Live location tracking
- Receive emergency alerts
- Accept / reject requests
- Route navigation to patient
- Finds nearest nurse using geo-coordinates
- Calculates fastest route (not just distance)
- Prioritizes based on:
- Distance
- Travel time
- Availability
- Auto-escalation if nurse doesn't respond
- React.js
- Tailwind CSS / CSS
- Axios
- Google Maps API / Mapbox
- Node.js
- Express.js
- MongoDB (Mongoose)
- REST APIs
- AWS EC2 (Backend hosting)
- AWS S3 (Media / assets storage)
- AWS Lambda (Optional async processing)
- AWS API Gateway
- AWS SNS / Firebase (Push Notifications)
- WebSockets / Socket.IO
- Geolocation APIs
- Haversine formula / routing APIs
graph LR
A[Patient App] --> B[API Server]
B --> C[Dispatch Engine]
C --> D[Nurse App]
B --> E[MongoDB Database]
E --> F[AWS Services]
- Patient triggers emergency alert
- System fetches:
- Patient location
- List of available nurses
- Calculates nearest nurse using:
- Geo-distance
- Estimated travel time
- Sends notification to closest nurse
- If no response:
- Escalates to next nearest nurse
- Once accepted:
- Nurse is assigned
- Navigation begins
We use a combination of:
- Haversine Formula โ for distance calculation
- Routing APIs (Google Maps) โ for travel time
- Priority Queue โ to rank nurses
- Secure APIs with authentication (JWT)
- Encrypted data transmission (HTTPS)
- Role-based access (Patient / Nurse / Admin)
- Location data used only during active requests
care-glide/
โ
โโโ frontend/ # React frontend
โโโ backend/ # Node.js backend
โ โโโ controllers/
โ โโโ routes/
โ โโโ models/
โ โโโ services/
โ โโโ utils/
โ
โโโ aws/ # AWS configs (if any)
โโโ docs/ # Documentation
โโโ README.md
git clone https://github.com/your-username/care-glide.git
cd care-glide
cd server
npm install
npm run dev
cd client
npm install
npm start
Create .env file in server:
PORT=5000
MONGO_URI=your_mongodb_uri
JWT_SECRET=your_secret
GOOGLE_MAPS_API_KEY=your_key
AWS_ACCESS_KEY=your_key
AWS_SECRET_KEY=your_key
- POST /api/alert โ Trigger emergency
- GET /api/status/:id โ Check status
- GET /api/nurses/available
- POST /api/nurse/respond
- AWS EC2 / AWS Lambda
- AWS S3 / Vercel / Netlify
- MongoDB Atlas
- MVP with working emergency alert flow
- Live nurse assignment simulation
- 5-minute demo video
- GitHub source code
- Voice-based emergency trigger
- Fall detection using sensors
- AI-based priority scoring
- Offline SMS fallback alerts
- Wearable device integration
- Integration with hospitals
- Multi-city scaling
- Predictive emergency detection
- AI route optimization