LA
All projects
FleetDelivered2025

Dpanini

Towing dispatch backend

Role / Backend architect

Dpanini — Towing dispatch backend
request dispatch
Realtime
driver tracking
Live
client and driver roles
2

The problem

Towing requests arrive by phone call. The dispatcher has no map of available drivers, no status history, and no way to tell a customer which truck is coming.

Approach

  • Designed the schema for requests, driver availability, assignments and status transitions before writing endpoints.
  • Built WebSocket channels for request broadcast, driver acceptance and live location updates.
  • Implemented a matching flow that only offers a request to drivers currently available in the service area.
  • Wrote integration tests around the request lifecycle and documented every payload for the Flutter team.

Result

  • Complete backend delivered and integrated with the Flutter client.
  • Request-to-acceptance happens in real time instead of through phone dispatch.
  • Status history gives operations a record of every assignment.

Stack

  • Express
  • TypeScript
  • Prisma
  • PostgreSQL
  • WebSockets
  • Jest