app/(site)/work/geotrack-delivery-tracking-system/page.tsxln 001
← WORK / SPECIMEN ARCHIVE
GeoTrack — Real-time Delivery Tracking System
Multi-tenant SaaS for real-time delivery tracking with role-based dashboards and package billing.
ReactTypeScriptNode.jsExpressMongoDBRedux ToolkitGoogle Maps APILeaflet.jsTailwindcss2025SHIPPED
THE PROBLEM

Delivery companies in Bangladesh had no affordable, centralized way to track their field workers in real time. Existing enterprise solutions were too expensive and not built for local payment methods. Organizations needed a system where they could monitor multiple delivery men simultaneously, receive emergency alerts, and generate location-based reports — all under one platform with proper role separation between the company admin and a platform super admin.

KEY FEATURES
  • 01Multi-tenant architecture — each organization gets isolated data and its own admin
  • 02Real-time live location tracking of delivery men via Google Maps & Leaflet.js
  • 03History tracking by selected delivery user and date range
  • 04Emergency request system — delivery man can trigger alert from Flutter mobile app
  • 05Role-based dashboards for Super Admin, Organization Admin, and Delivery User
  • 06JWT authentication with refresh tokens for secure session management
  • 07Super Admin can manage organizations, admins, packages, and payments
  • 08 Package-based access control (Basic, Premium, Platinum) with SSLCommerz payment integration
  • 09Company-wise monthly reports with download support
  • 10Live users overview showing all active delivery men across all organizations
CHALLENGES

Building true multi-tenancy meant every query had to be scoped by organization to prevent data leakage between companies. Integrating real-time location updates from the Flutter mobile app to the web dashboard required efficient backend polling and WebSocket-friendly architecture. Implementing JWT refresh token rotation securely across three separate role-based dashboards added significant auth complexity. SSLCommerz payment integration with package-tier enforcement (limiting user counts per plan) required careful business logic at the backend level.

ARCHITECTURE

React + TypeScript frontend with Redux Toolkit and RTK Query for state and API management, split into three separate role dashboards (Super Admin, Org Admin, Delivery User). Node.js + Express REST API backend with MongoDB via Mongoose handles all business logic, multi-tenant data isolation, and auth. Google Maps API and Leaflet.js power the interactive live and history tracking maps. The Flutter mobile app (built by a separate developer) communicates with the same backend for delivery man tracking and emergency requests. Deployed on Vercel (frontend) with JWT refresh token auth securing all routes.