Mobile
December 25, 2024

Sales Route Optimization App

Mobile app helping sales staff plan daily customer visits efficiently.

Screenshot of Sales Route Optimization App project - Mobile app helping sales staff plan daily customer visits efficiently.

Tech Stack

React Native
TypeScript
Zustand
Redux Toolkit
React Query
Deep linking
Google Maps
Apple Maps
OSRM
Google OR-Tools
Docker
PostgreSQL

Mobile app helping sales staff plan daily customer visits efficiently.

Problem

Sales staff often need to visit multiple customers in a day. Manual route planning is time-consuming and inefficient, leading to:

  • Wasted travel time

  • Unnecessary fuel costs

  • Reduced number of daily meetings

  • Lack of standardization in sales team workflow

Solution

Users input a list of destinations, and the system automatically:

  1. Optimizes visit order for shortest total distance

  2. Displays route on map with markers and polylines

  3. Provides navigation via Google Maps / Apple Maps

  4. Saves history for tracking and analysis

Goals

  • ✅ Save travel time

  • ✅ Increase daily customer meetings

  • ✅ Standardize sales team workflow

  • ✅ Transparent fuel cost tracking

Tech Stack

Mobile App

  • React Native + TypeScript: Main framework

  • react-native-maps: Map display, markers, polylines

  • Zustand / Redux Toolkit: State management

  • React Query: Data synchronization

  • Deep linking: Google Maps / Apple Maps integration

Backend

  • Node.js (Express / Fastify): REST API

  • Validation: Zod

  • Database: PostgreSQL (store routes, customers)

Route Optimization

  • OSRM (self-hosted): Distance calculation & routing

  • Google OR-Tools (Python): Solve TSP (Traveling Salesman Problem)

Infrastructure

  • Docker: OSRM + backend services

  • PostgreSQL: Main database

Results

The app is currently in MVP stage, tested with several sales staff and received positive feedback on the route optimization feature.

💡 Key Insights

🎯 Real Problem

Sales staff waste time and fuel due to inefficient route planning

Solution

Build automatic route optimization app using OR-Tools algorithm

Value Delivered

Save time, increase customer meetings and standardize workflow

👤 My Role

Mobile Developer, Algorithm Engineer