Inspiration

Traveling on unknown roads, particularly late at night or on deserted streets, can be a nervous prospect. Classic navigation tools direct us away from traffic — but how about redirecting us from dangerous neighborhoods? SafeRoute Navigator was born out of the concept that navigation is not only about efficiency, but also safety. We envisioned creating a tool that equips users with crowd-sourced safety ratings, so they can make smart choices about where to go and how to get there.

What it does

SafeRoute Navigator is an application on mobile devices that provides:

Search for any location with real-time geocoding

Live location tracking for precise navigation

Route plotting from source to destination with polylines

Distance and ETA estimation with Google Directions API

Initiate Journey mode to trace the route with navigation info

Safety checks for locations – see and report safety-related comments for any location

Responsive UI based on Google Maps

How we built it

We used the following tech stack in building the app:

React Native – for cross-platform mobile app development

Google Maps SDK – for rendering and interacting with maps

Google Places API – to enable place search and geocoding

Google Directions API – to retrieve routes, polylines, distance, and ETA

Firebase Firestore – to store and retrieve location safety reviews

Geolocator & Location – to monitor the live location of the user

State Management – with Provider for reactive UI updates

Challenges we encountered

Processing live location updates in real-time with high accuracy

Parsing and drawing polylines from encoded API responses

Optimizing Google Maps camera and marker updates effectively

Ensuring Firebase query optimization for quick review fetching

Tackling the problem to add the safest route in the google maps

Creating a responsive and user-friendly UI for every device

Things that we're proud of

Implemented complete end-to-end navigation with correct distance and ETA

Developed a real-time review system for location safety insights

Integrated several Google APIs smoothly in a mobile environment

Provided a fluid and responsive UI with interactive maps and trips

Built a project that has the potential to improve personal safety in the real world

What we learned

How to integrate Google Maps APIs and parse polyline encoding

How to handle live geolocation and background tracking properly

How to integrate Firebase for dynamic data retrieval and write operations

How to create user-centric features that encourage community involvement

Debugging intricate async flows in React Native and app state management

What lies ahead for SafeRoute

We can't wait to make SafeRoute even safer with these new features:

AI-driven Risk Scoring of neighborhoods based on user feedback and historical trends

Live Alerts from users regarding suspicious activity or unsafe conditions

Voice-assisted safe navigation for hands-free use

Route suggestions based on safety ratings, not speed

Multilingual assistance for greater accessibility

Share this project:

Updates