SafeMap
Explore the World with Confidence.
The problem SafeMap solves
The Problem It Solves
Travelers, students, and professionals often struggle to determine how safe a destination really is. Safety information is usually scattered across multiple sources such as government travel advisories, weather reports, crime statistics, and air‑quality databases. This makes it difficult for people to quickly understand the overall safety of a place.
As a result, people must spend significant time researching different websites, comparing information, and still may not get a clear picture of the risks associated with a destination.
How SafeRoot Solves This Problem
SafeRoot simplifies travel safety research by combining multiple risk indicators into a single, easy‑to‑understand safety score. Instead of checking many sources manually, users can view safety insights instantly.
The platform analyzes several important factors including:
Crime levels
Natural disaster risk
Air quality conditions
Political stability
Weather risk
These factors are combined into a composite safety score (0–100) that helps users quickly evaluate whether a destination is safe, moderate, or risky.
What People Can Use It For
🌍 Safer Travel Planning
Travelers can check safety scores before visiting a country or city, helping them choose safer destinations and avoid high‑risk areas.
🎓 International Student Decisions
Students planning to study abroad can compare safety levels between different countries and cities.
🏢 Corporate Travel Risk Management
Companies sending employees overseas can assess travel risks and make informed decisions.
🗺 Destination Comparison
Users can compare safety metrics between two locations using the travel planner feature.
🚨 Real‑Time Risk Awareness
The global alerts system helps users stay informed about critical safety situations around the world.
⭐ Personalized Travel Tracking
Logged‑in users can save:
Favorite destinations
Travel plans
Safety updates
How It Makes Existing Tasks Easier
Without SafeRoot, a traveler might need to:
Check crime statistics on government websites
Look up weather risks on another platform
Search news for political instability
Check air pollution levels separately
SafeRoot centralizes all this information in one platform, saving time and providing a clearer understanding of safety risks.
Why It Matters
By transforming complex safety data into clear visual insights and safety scores, SafeRoot helps people make smarter and safer travel decisions anywhere in the world.
Challenges we ran into
Challenges I Ran Into
- Integrating Multiple Technologies
One challenge was connecting different technologies such as Node.js backend, SQLite database, Firebase authentication, and the frontend interface. Ensuring that authentication tokens worked correctly with protected API routes required careful debugging and testing.
Solution:
I implemented proper JWT verification middleware in the backend and tested API endpoints using tools like Postman to ensure secure communication between the frontend and backend.
- 3D Globe Performance
Rendering an interactive 3D globe using Three.js sometimes caused performance issues in certain browsers or slower devices.
Solution:
I optimized the globe rendering by reducing unnecessary animations and ensuring efficient data loading for country safety markers.
- Safety Score Calculation
Designing a fair and understandable safety scoring algorithm was challenging because multiple risk factors had to be balanced.
Solution:
I implemented a weighted scoring system combining disaster risk, crime index, air quality, political stability, and weather risk to produce a clear 0–100 safety score.
- Managing User Data
Handling favorites and travel plans for logged‑in users required secure database handling and proper API validation.
Solution:
I structured the database carefully and added authentication checks to ensure only authorized users could access or modify their data.
Technologies used
