CareNest: A Serverless Child Safety Tracker Powered by AWS - Smart care, Safe kids, Confident parents.
Problem Statement Children’s safety isn’t just a personal concern, it affects the mental well-being of parents globally. In India, a child goes missing every 8 minutes, according to the National Crime Records Bureau (NCRB). More than 47,000 children were reported missing recently, and 71.4% of them were minor girls. While location-tracking apps exist, most fail to offer real-time emergency alerting, crime mapping, or safe route guidance. There’s a clear gap for an application that combines live location tracking, instant panic alerts, and intelligent safety indicators — all in one. What is CareNest? CareNest is a browser-based child safety application designed to Track a child’s real-time location using the browser’s geolocation API and LeafletJS. Allow a child to trigger an emergency alert via a panic button. Identify poorly lit streets, safe zones, and nearby facilities like hospitals or police stations. Use AWS serverless services to process and deliver real-time alerts. Offer a lightweight, scalable, and cost-efficient solution using cloud-native architecture. AWS Architecture Here's how the components work together: Frontend (GitHub Pages)- A responsive UI built with HTML, CSS, JavaScript, and LeafletJS. Geolocation API-Tracks the child’s live coordinates from the browser. Amazon API Gateway Securely exposes backend endpoints to receive panic alert data. AWS Lambda (Node.js)-Processes the alert, fetches address using LocationIQ, and sends the message. LocationIQ API-Converts latitude/longitude into a readable address (reverse geocoding). Amazon SNS-Sends emergency alerts via SMS and email to registered contacts. CORS + HTTPS-Ensures secure, cross-origin requests from the frontend. Functionality Frontend: Built using HTML, JS, and LeafletJS, hosted on GitHub Location Tracking: Uses browser geolocation to track movement on the map. Panic Button: When clicked, sends coordinates to an API Gateway endpoint. AWS Lambda: Processes the request, fetches address using LocationIQ, and sends message via Amazon SNS. SNS: Sends emergency alert to a subscribed parent. Front end will display live location of the child, panic button and child profile. In the backend AWS Lambda is used for serverless function for emergency alert handling. Amazon API gateway is used to expose Lambda as secure HTTP endpoint. Amazon SNS is used to real time emergency alerts to registered contacts. LocationIQ API is used for reverse geocoding is used to convert latitude and longitude to human-readable address. GitHub Pages (Static Frontend) is used to host the live frontend of the application. CORS Configuration, HTTPS ensures secure data transmission and cross-origin request control. For Future Scope Government APIs / OpenStreetMap Crime, Light, Safety Data will be used for marking safe places, crimes, and light/dark streets. Advantages Lightweight and cost-effective due to serverless setup Near-instant emergency alerts via SNS Parent peace-of-mind with real-time tracking Can scale easily, no backend server to manage Fast and responsive Challenges & Learnings Faced CORS issues on API Gateway — fixed with proper OPTIONS method and headers. Understood how SNS topics and subscriptions work. Learned to use LeafletJS and geolocation together. Gained insights into serverless application design. Risk Zone Prediction with Machine Learning Battery Health Monitoring Native Mobile App with React Native Multi-Channel Alerts Integration

Problem Statement
Children’s safety isn’t just a personal concern, it affects the mental well-being of parents globally. In India, a child goes missing every 8 minutes, according to the National Crime Records Bureau (NCRB).
More than 47,000 children were reported missing recently, and 71.4% of them were minor girls. While location-tracking apps exist, most fail to offer real-time emergency alerting, crime mapping, or safe route guidance.
There’s a clear gap for an application that combines live location tracking, instant panic alerts, and intelligent safety indicators — all in one.
What is CareNest?
CareNest is a browser-based child safety application designed to
- Track a child’s real-time location using the browser’s geolocation API and LeafletJS.
- Allow a child to trigger an emergency alert via a panic button.
- Identify poorly lit streets, safe zones, and nearby facilities like hospitals or police stations.
- Use AWS serverless services to process and deliver real-time alerts.
- Offer a lightweight, scalable, and cost-efficient solution using cloud-native architecture.
AWS Architecture
Here's how the components work together:
Frontend (GitHub Pages)- A responsive UI built with HTML, CSS, JavaScript, and LeafletJS.
Geolocation API-Tracks the child’s live coordinates from the browser.
Amazon API Gateway Securely exposes backend endpoints to receive panic alert data.
AWS Lambda (Node.js)-Processes the alert, fetches address using LocationIQ, and sends the message.
LocationIQ API-Converts latitude/longitude into a readable address (reverse geocoding).
Amazon SNS-Sends emergency alerts via SMS and email to registered contacts.
CORS + HTTPS-Ensures secure, cross-origin requests from the frontend.
Functionality
Frontend: Built using HTML, JS, and LeafletJS, hosted on GitHub
Location Tracking: Uses browser geolocation to track movement on the map.
Panic Button: When clicked, sends coordinates to an API Gateway endpoint.
AWS Lambda: Processes the request, fetches address using LocationIQ, and sends
message via Amazon SNS.
SNS: Sends emergency alert to a subscribed parent.
Front end will display live location of the child, panic button and child profile. In the backend AWS Lambda is used for serverless function for emergency alert handling. Amazon API gateway is used to expose Lambda as secure HTTP endpoint. Amazon SNS is used to real time emergency alerts to registered contacts. LocationIQ API is used for reverse geocoding is used to convert latitude and longitude to human-readable address. GitHub Pages (Static Frontend) is used to host the live frontend of the application. CORS Configuration, HTTPS ensures secure data transmission and cross-origin request control. For Future Scope Government APIs / OpenStreetMap Crime, Light, Safety Data will be used for marking safe places, crimes, and light/dark streets.
Advantages
Lightweight and cost-effective due to serverless setup
Near-instant emergency alerts via SNS
Parent peace-of-mind with real-time tracking
Can scale easily, no backend server to manage
Fast and responsive
Challenges & Learnings
Faced CORS issues on API Gateway — fixed with proper OPTIONS method and headers.
Understood how SNS topics and subscriptions work.
Learned to use LeafletJS and geolocation together.
Gained insights into serverless application design.
Risk Zone Prediction with Machine Learning
Battery Health Monitoring
Native Mobile App with React Native
Multi-Channel Alerts Integration