GlowPath is a progressive web application designed to enhance user safety by enabling real-time location sharing that can be shared easily via chat, and providing instant alerts to contacts or authorities via an SOS button.
- Real-Time Location Sharing: Share your live location with a trusted contact list.
- SOS Button: Notify contacts and authorities during emergencies with a personalized emergency button.
- Safe Zone Mapping: View nearby safe zones like police stations and hospitals on an interactive map.
- Safety Analytics: Visualize important safety statistics for better decision-making.
GlowPath is live! Visit the live version at https://glowpathorg.github.io/GlowPath/
To run GlowPath locally, ensure the following dependencies and accounts are set up:
- Node.js: Download and install Node.js.
- MongoDB: Set up a local or cloud-based MongoDB instance (e.g., MongoDB Atlas).
- API Keys:
- HERE API
- Weather API
- Twilio for sending emergency messages.
- OpenStreetMap and Overpass API: No additional setup needed.
git clone cd GlowPath
-root Directory npm install
-
server: cd server npm install
-
client: cd client npm install
Create a .env file in the client for the weather API Key Create a .env file in the server directory and add the following: SERVER_PORT=3002 CLIENT_PORT=5173 MONGODB_URI=your_mongodb_connection_string JWT_SECRET=your_secret_key TWILIO_ACCOUNT_SID TWILIO_AUTH_TOKEN TWILIO_PHONE_NUMBER
• Frontend: React.js and Typescript • Backend: Node.js with Express.js for routing and API logic. • Database: MongoDB for storing data. • Authentication: JSON Web Tokens (JWT) for secure user sessions. • Mapping: Leaflet.js for an interactive map. • APIs and Tools: HERE API Nominatim Twilio Openstreetmaps Overpass Weather API • Others: Axios.
Contributions, issues, and feature requests are welcome! Feel free to check the issues page or submit a pull request.
- Hadil Ben Koura - linkedIn:www.linkedin.com/in/hadil-benkoura
- Mellissa Cessna - linkedIn: www.linkedin.com/in/cessna
- Jonas Rinderlin - linkedIn: www.linkedin.com/in/
Enjoy using GlowPath, and stay safe! 🚶♂️🛡️