The F-commerce and E-commerce boom in Bangladesh has created a massive logistics bottleneck.
While giants like Pathao, RedX, and Steadfast dominate the national market, hundreds of niche delivery and courier startups are launching across Dhaka, Chittagong, and Sylhet to serve specific local sectors (like grocery, medical supplies, or same-day fashion delivery).
At first, managing 20 riders with WhatsApp groups and Excel sheets works. But the moment you scale to 100 daily deliveries, the manual system breaks. Parcels get lost, delivery statuses are delayed, and most dangerously, Cash on Delivery (COD) reconciliation becomes a nightmare of missing money.
At BengalTech Solutions, we engineer scalable Custom Software Platforms capable of handling the chaos of local logistics. In this guide, we outline the exact architecture and critical features required to build a delivery empire in Bangladesh.
"Your logistics software must solve three problems flawlessly: Where is the rider, where is the parcel, and where is the cash?"
Table of Contents
- The Three Pillars of Logistics Software
- The Nightmare of Cash on Delivery (COD)
- Rider App: GPS Tracking & Battery Optimization
- The Merchant API: Your Growth Engine
- The Recommended Tech Stack
The Three Pillars of Logistics Software
A custom courier system is not a single app; it is a distributed ecosystem. It must consist of three distinct, perfectly synchronized portals:
- 1. The Master Admin Panel (Web): For your operations team to dispatch hubs, assign riders, track overall metrics, and process merchant payouts.
- 2. The Merchant Dashboard (Web/App): For your clients (F-commerce pages, E-commerce brands) to upload orders in bulk, print Air Waybills (AWBs) with barcodes, and track their payouts.
- 3. The Rider App (Android): A native Mobile App for delivery men to view assigned routes, scan barcodes, update delivery statuses, and verify OTPs.
The Nightmare of Cash on Delivery (COD)
In Western countries, logistics software only tracks packages because the merchant has already been paid via credit card. In Bangladesh, over 80% of deliveries are COD. Your riders are essentially mobile banks.
If your software does not handle COD mathematically perfectly, your business will fail. Your system must calculate:
The software must feature a "Hub Cash Collection" module. When a rider returns to the local hub at 8 PM, the Hub Manager must physically count the cash and mark it as "Collected" in the system, automatically updating the master accounts and generating a payout invoice for the merchant.
We highly recommend integrating bKash payout APIs directly into the Admin panel to automate merchant disbursement with a single click.
Rider App: GPS Tracking & Battery Optimization
Your operations team needs to see where riders are on a live map to optimize dispatching. However, pinging a smartphone's GPS every 1 second will drain the rider's budget Android phone battery in two hours.
The Solution: Smart Polling
When building the Rider App, we implement "Smart Polling." If the rider is moving fast (detected via accelerometer), the app pings the server via WebSockets every 10 seconds. If the rider is stationary (stuck in Dhaka traffic), it drops the ping rate to every 60 seconds to save battery and reduce your server costs.
Barcode Scanning & OTP
The Rider App must feature a built-in barcode scanner. When picking up a parcel, the rider scans the AWB to instantly update the status to "In Transit." Upon delivery, the system must trigger an SMS OTP (using a local provider like SSLWireless) to the customer to prevent fake delivery claims.
The Merchant API: Your Growth Engine
If you want to acquire large E-commerce clients (brands doing 500+ orders a day), you cannot expect them to manually type customer addresses into your dashboard.
You must build a robust RESTful API. This allows the merchant's website (WooCommerce, Shopify, or Custom Next.js) to programmatically push orders directly into your logistics database the moment a customer checks out. A well-documented API is your greatest sales tool.
The Recommended Tech Stack
| Component | Recommended Stack | Why? |
|---|---|---|
| Backend & API | Laravel or Node.js | Handles complex relational data (Orders, Riders, Merchants) securely. |
| Admin/Merchant Panels | Next.js (React) | Lightning-fast SPA feel for dashboards handling thousands of rows of data. |
| Rider Mobile App | React Native | Allows code-sharing with the web panels; excellent for background location tracking. |
| Database | PostgreSQL | ACID compliance is mandatory to ensure financial (COD) transactions never corrupt. |
Building a courier management system from scratch is a massive undertaking, but owning your own logistics IP gives you total control over your margins and operational rules.
If you are looking to build the next major logistics network in Bangladesh, contact BengalTech Solutions today to discuss your system architecture.
Frequently Asked Questions
Cash on Delivery (COD) reconciliation. Because 90% of deliveries in Bangladesh are COD, riders collect massive amounts of physical cash daily. Your software must perfectly reconcile the cash collected by the rider against the merchant payouts, minus your delivery commission, without a single mathematical error.
Merchants primarily need a Web Panel (Dashboard) to bulk upload orders via Excel, track statuses, and view payout reports. A mobile app for merchants is a secondary luxury. However, your delivery riders absolutely require a native Mobile App (Android) for GPS tracking and OTP verifications.
Real-time tracking requires integrating a WebSocket server (like Socket.io or Laravel Reverb) and pushing GPS coordinates from the rider's Android app to your backend. You must optimize the ping frequency (e.g., every 15 seconds) so you don't drain the rider's battery or inflate your server costs.
Yes. A professional custom logistics platform must include a Merchant API. This allows e-commerce owners using WooCommerce, Shopify, or custom Next.js sites to automatically push orders into your delivery system the moment a customer checks out, eliminating manual data entry.
Depending on the complexity (Rider App, Merchant App, Admin Panel, API integrations), a robust custom logistics system typically costs between 1,500,000 BDT and 5,000,000 BDT. Off-the-shelf SaaS exists, but you will outgrow it quickly as your local operational rules become complex.