How We Built a Four-Mode Freight Price Estimator for a Six-Country Corridor
A logistics buyer wants a number and a transit time before they want a conversation. A pricing page that gives both, honestly labelled as an estimate, earns the conversation.
1. Start from terminals, not from a map of the world
The platform serves six countries: Iran, Russia, Turkey, Azerbaijan, Belarus and Qatar. We listed the terminals that actually matter in them, 100 in total across airports, sea ports, rail stations and road hubs.
The visitor picks a freight type, then an origin and destination terminal, then a date. Limiting the choice to real terminals keeps every result meaningful.
2. Roads follow corridors, everything else follows distance
Road freight in this region does not take the shortest line. It goes through specific border posts such as Astara, Bazargan or Brest. We curated 13 land corridors and route trucks through their waypoints.
Rail, sea and air use direct distance. The price is distance times a rate per mode, plus handling, with a minimum charge; transit time comes from a daily speed per mode with a minimum number of days.
3. An estimate that hands over to a person
The result is shown as a starting price. The same screen opens an inquiry that lands in the staff back office with the route already filled in, so the sales team starts from the customer's actual question.
The site runs in English and Persian with a right-to-left layout, on Next.js with a Go back end, PostgreSQL and a Strapi content panel. The sandbox uses the same tariff model with sample cities.