About SafeRoute

Learn about how SafeRoute optimizes shuttle routes

What is SafeRoute?

AI-powered route optimization

SafeRoute is a route optimization tool designed for university security shuttles. Instead of dropping students off in the order they boarded (FIFO), SafeRoute calculates a more efficient route that minimizes total travel distance and time, reducing fuel costs and carbon emissions.

How It Works

Nearest-neighbor algorithm

SafeRoute uses a nearest-neighbor heuristic to optimize routes:

  1. 1
    Start at the origin (university)
  2. 2
    Find the unvisited stop closest to the current position
  3. 3
    Travel to that stop and mark it as visited
  4. 4
    Repeat until all stops have been visited

Note: This is a heuristic algorithm that finds good solutions quickly, but it does not guarantee the absolute optimal route. In practice, it typically reduces distance by 15-35% compared to FIFO ordering.

Privacy Notice

How we handle your data

SafeRoute stores some data in your browser

  • SafeRoute is a proof-of-concept — avoid entering real or sensitive passenger information
  • Trip history, ride requests, settings, and the active dispatch trip may be saved in browser localStorage
  • Saved data may remain after you close the tab or browser and has no automatic expiry
  • The active dispatch trip may include driver location coordinates
  • Data stays on this device (not a first-party server) and can be removed using browser storage controls

However, addresses ARE sent to third-party services

  • Mapbox Geocoding API (to convert addresses to coordinates)
  • Mapbox Directions API (to calculate driving routes)

These services have their own privacy policies. Do not enter addresses for real students in a production context.

Disclaimer

Important information

This is a student portfolio project and proof-of-concept only. SafeRoute is not affiliated with Monash University or its security services. Do not use this application for actual student transport operations.

Tech Stack

Built with modern technologies

🎨

Frontend

Next.js, TypeScript, Tailwind CSS

🗺️

Maps

Mapbox GL JS

🧮

Algorithms

Nearest-neighbor heuristic

🚀

Deployment

Vercel