Digital Engineering
Transforming Logistics: How We Built a Custom TMS for an Indian Freight Company in 14 Weeks
Transforming Logistics: How We Built a Custom TMS for an Indian Freight Company in 14 Weeks
08 min read

In the fast-paced landscape of the Indian logistics sector, time is not just money—it is the very infrastructure upon which profitability stands. Our team was recently approached by a mid-sized Indian freight company grappling with a fragmented, legacy operation. Their existing processes relied heavily on manual spreadsheets, disconnected communication channels, and a complete lack of real-time visibility into their fleet. The challenge was monumental: design, develop, and deploy a robust, end-to-end Transport Management System (TMS) from scratch, within a razor-thin timeline of 14 weeks.
This case study outlines the journey of transforming a disorganized supply chain into a data-driven powerhouse.
The Operational Reality: A Landscape of Inefficiency
Before the digital overhaul, the client’s operations were defined by "institutional knowledge"—information locked in the heads of dispatchers or buried in unorganized WhatsApp threads. When a truck broke down on a highway in Madhya Pradesh, or a consignment faced a delay due to local regulations, the headquarters in Mumbai often learned of it hours, sometimes days, later.
Key Pain Points Identified
Fragmented Communication: Dispatchers, drivers, and warehouse staff utilized disparate platforms, leading to data silos.
Lack of Visibility: There was zero tracking mechanism for live shipments, leading to customer dissatisfaction.
Manual Billing Errors: Invoicing was prone to human error, with reconciliations taking weeks rather than minutes.
Inefficient Route Planning: Without data-backed optimization, trucks were frequently returning empty (the "empty mile" problem).
The 14-Week Sprint: A Phased Execution Model
To meet the 14-week deadline, we adopted a modified Agile-Scrum framework. We divided the project into four distinct phases, each culminating in a functional delivery.
Phase 1: Discovery & Architecture (Weeks 1–2)
We spent the first two weeks deep-diving into the operational workflows. We mapped every touchpoint from "Order Intake" to "Proof of Delivery." Simultaneously, we finalized the tech stack. Given the need for scalability and reliability in the diverse network conditions of India, we opted for a cloud-native, microservices-based architecture.
Phase 2: Core Development & MVP (Weeks 3–8)
We focused on the Minimum Viable Product (MVP), prioritizing features that directly impacted the bottom line: order management, driver assignments, and basic trip tracking.
Phase 3: Integration & Testing (Weeks 9–12)
This period involved heavy lifting on APIs—integrating third-party GPS services, fuel management systems, and GST-compliant invoicing modules.
Phase 4: UAT & Deployment (Weeks 13–14)
The final two weeks were dedicated to User Acceptance Testing (UAT) with a select group of drivers and warehouse managers to ensure the UI was intuitive for users with varying levels of technical proficiency.
Technical Architecture and Implementation
Building a system that works reliably across the varied terrains of India required specific technical decisions. We had to account for low-bandwidth areas where real-time data streaming might fail, necessitating a "store-and-forward" mechanism in our mobile app.
Key Technical Stack
Backend: Node.js with TypeScript for high-concurrency handling.
Database: PostgreSQL (for relational data) + Redis (for real-time caching of location data).
Infrastructure: AWS (Auto-scaling groups to manage peak freight seasons).
Mobile: React Native (to ensure cross-platform consistency for driver apps).
Mapping: Google Maps API integrated with local Indian map data for last-mile precision.
Table 1: Core System Features vs. Technical Implementation
Feature Category | Primary Requirement | Technical Implementation |
Fleet Management | Tracking assets in real-time | WebSocket-based real-time telemetry |
Route Optimization | Reducing empty miles | Dijkstra’s algorithm + historical traffic APIs |
Order Management | End-to-end lifecycle tracking | Event-driven microservices architecture |
Billing & Finance | Automated GST-compliant invoicing | PDF generation engine + automated accounting sync |
User Interface | Low-literacy friendly design | Voice-to-text integration and iconography-heavy UI |
Addressing the Technical Challenges
1. Handling Connectivity Instability
In many parts of rural India, GPRS/3G/4G connectivity is intermittent. If a driver’s application relies on a continuous connection, the system will fail. Our solution was to build an offline-first architecture. The mobile application captures location pings and status updates locally using SQLite, and triggers a sync as soon as the signal strength hits a defined threshold.
2. Multi-tenant Scalability
The freight company operates across multiple regional offices. We implemented a multi-tenant database design where data isolation is enforced at the schema level. This allows the company to add new regional branches without modifying the underlying infrastructure.
3. API Integration Layer
The TMS needed to talk to external fuel cards, toll collection systems (FASTag), and accounting software (like Tally). We built a robust API Gateway that acts as a buffer and validator for all incoming and outgoing data, ensuring that a failure in one external service does not bring down the entire TMS.
Comparative Performance Metrics: Pre vs. Post Deployment
The impact of the new TMS was immediate. By replacing manual processes with automated triggers, the turnaround time for dispatching was reduced by 60%.
Table 2: Performance Impact Assessment
Key Metric | Pre-Implementation (Baseline) | Post-Implementation (3 Months) | Improvement % |
Dispatch Time | 120 Minutes | 45 Minutes | 62.5% |
Billing Accuracy | 85% | 99.5% | 17% |
Fleet Utilization | 65% | 82% | 26% |
Fuel Cost/Trip | High (Inefficient Routes) | Optimized (Route Planning) | 12% Saving |
Deep Dive: Engineering Route Optimization
One of the most complex technical challenges was reducing "empty miles"—the distance a truck travels without cargo. In the Indian market, where return loads are often difficult to secure, this is the single biggest drain on profitability.
Our engineering team implemented a predictive model. Using historical data stored in the PostgreSQL database, the system identifies potential backhaul opportunities near the destination of the primary trip. When a dispatcher assigns a route, the system suggests a "best fit" return cargo if one is available in the radius.
Technically, this required implementing a spatial indexing system (using PostGIS). This allowed us to perform high-speed geospatial queries to find available freight within a specific radius of a truck’s current location, effectively turning the TMS into a marketplace-in-a-box for the company.
Ensuring Data Integrity and Security
Logistics data is sensitive. Contractual pricing, client lists, and driver payroll details must be protected. We enforced a strict Zero Trust security model.
Encryption: All data in transit is encrypted using TLS 1.3. Data at rest is encrypted using AES-256.
Role-Based Access Control (RBAC): We implemented granular permissions. A driver can only view their assigned route and specific cargo information, while a branch manager has access to the full regional performance dashboard.
Audit Logging: Every action—from changing a shipping rate to modifying a driver’s log—is captured in an immutable audit log. This provides the client with a permanent record for dispute resolution and compliance.
The Role of User Experience (UX) in Adoption
A common pitfall in logistics software is building a system that requires a PhD to operate. We prioritized an "Operations-First" UI design.
For the drivers, the app interface is intentionally Spartan. We minimized text input, relying instead on large, color-coded buttons. Critical alerts (such as "Route Deviation" or "Speeding Warning") are accompanied by audio cues. This design choice was vital in ensuring high adoption rates within the first 14 days of the rollout. We treated the driver app not as an administrative tool, but as a utility tool, ensuring that it was as simple to use as a navigation app.
Scaling for the Future: The Infrastructure Roadmap
The 14-week sprint resulted in a stable MVP, but our roadmap was designed for long-term growth. We utilized Kubernetes (EKS) for container orchestration, which allows the client to scale horizontally as their fleet size grows. Whether the company adds 10 trucks or 10,000, the infrastructure is equipped to handle the load without requiring a code rewrite.
Furthermore, we integrated a data-lake approach. While the operational database is optimized for transactions, we established an automated ETL pipeline that pushes anonymized data into a S3 bucket. This serves as the foundation for the client’s future Machine Learning initiatives, such as predictive maintenance (forecasting when a vehicle component might fail based on usage patterns) and demand forecasting.
Lessons Learned: Building Under Pressure
The 14-week timeline forced us to be ruthless about prioritization. We learned that the "perfect" solution is often the enemy of the "deployed" solution. By focusing on the core functional requirements and utilizing proven, open-source libraries for standard tasks (like authentication and data validation), we saved countless hours of development time.
The success of this project serves as a testament to the fact that digital transformation in traditional sectors like freight does not always require years of planning. With a clear vision, a focus on scalable architecture, and a commitment to user-centric design, even the most complex legacy operations can be revitalized rapidly.
In the fast-paced landscape of the Indian logistics sector, time is not just money—it is the very infrastructure upon which profitability stands. Our team was recently approached by a mid-sized Indian freight company grappling with a fragmented, legacy operation. Their existing processes relied heavily on manual spreadsheets, disconnected communication channels, and a complete lack of real-time visibility into their fleet. The challenge was monumental: design, develop, and deploy a robust, end-to-end Transport Management System (TMS) from scratch, within a razor-thin timeline of 14 weeks.
This case study outlines the journey of transforming a disorganized supply chain into a data-driven powerhouse.
The Operational Reality: A Landscape of Inefficiency
Before the digital overhaul, the client’s operations were defined by "institutional knowledge"—information locked in the heads of dispatchers or buried in unorganized WhatsApp threads. When a truck broke down on a highway in Madhya Pradesh, or a consignment faced a delay due to local regulations, the headquarters in Mumbai often learned of it hours, sometimes days, later.
Key Pain Points Identified
Fragmented Communication: Dispatchers, drivers, and warehouse staff utilized disparate platforms, leading to data silos.
Lack of Visibility: There was zero tracking mechanism for live shipments, leading to customer dissatisfaction.
Manual Billing Errors: Invoicing was prone to human error, with reconciliations taking weeks rather than minutes.
Inefficient Route Planning: Without data-backed optimization, trucks were frequently returning empty (the "empty mile" problem).
The 14-Week Sprint: A Phased Execution Model
To meet the 14-week deadline, we adopted a modified Agile-Scrum framework. We divided the project into four distinct phases, each culminating in a functional delivery.
Phase 1: Discovery & Architecture (Weeks 1–2)
We spent the first two weeks deep-diving into the operational workflows. We mapped every touchpoint from "Order Intake" to "Proof of Delivery." Simultaneously, we finalized the tech stack. Given the need for scalability and reliability in the diverse network conditions of India, we opted for a cloud-native, microservices-based architecture.
Phase 2: Core Development & MVP (Weeks 3–8)
We focused on the Minimum Viable Product (MVP), prioritizing features that directly impacted the bottom line: order management, driver assignments, and basic trip tracking.
Phase 3: Integration & Testing (Weeks 9–12)
This period involved heavy lifting on APIs—integrating third-party GPS services, fuel management systems, and GST-compliant invoicing modules.
Phase 4: UAT & Deployment (Weeks 13–14)
The final two weeks were dedicated to User Acceptance Testing (UAT) with a select group of drivers and warehouse managers to ensure the UI was intuitive for users with varying levels of technical proficiency.
Technical Architecture and Implementation
Building a system that works reliably across the varied terrains of India required specific technical decisions. We had to account for low-bandwidth areas where real-time data streaming might fail, necessitating a "store-and-forward" mechanism in our mobile app.
Key Technical Stack
Backend: Node.js with TypeScript for high-concurrency handling.
Database: PostgreSQL (for relational data) + Redis (for real-time caching of location data).
Infrastructure: AWS (Auto-scaling groups to manage peak freight seasons).
Mobile: React Native (to ensure cross-platform consistency for driver apps).
Mapping: Google Maps API integrated with local Indian map data for last-mile precision.
Table 1: Core System Features vs. Technical Implementation
Feature Category | Primary Requirement | Technical Implementation |
Fleet Management | Tracking assets in real-time | WebSocket-based real-time telemetry |
Route Optimization | Reducing empty miles | Dijkstra’s algorithm + historical traffic APIs |
Order Management | End-to-end lifecycle tracking | Event-driven microservices architecture |
Billing & Finance | Automated GST-compliant invoicing | PDF generation engine + automated accounting sync |
User Interface | Low-literacy friendly design | Voice-to-text integration and iconography-heavy UI |
Addressing the Technical Challenges
1. Handling Connectivity Instability
In many parts of rural India, GPRS/3G/4G connectivity is intermittent. If a driver’s application relies on a continuous connection, the system will fail. Our solution was to build an offline-first architecture. The mobile application captures location pings and status updates locally using SQLite, and triggers a sync as soon as the signal strength hits a defined threshold.
2. Multi-tenant Scalability
The freight company operates across multiple regional offices. We implemented a multi-tenant database design where data isolation is enforced at the schema level. This allows the company to add new regional branches without modifying the underlying infrastructure.
3. API Integration Layer
The TMS needed to talk to external fuel cards, toll collection systems (FASTag), and accounting software (like Tally). We built a robust API Gateway that acts as a buffer and validator for all incoming and outgoing data, ensuring that a failure in one external service does not bring down the entire TMS.
Comparative Performance Metrics: Pre vs. Post Deployment
The impact of the new TMS was immediate. By replacing manual processes with automated triggers, the turnaround time for dispatching was reduced by 60%.
Table 2: Performance Impact Assessment
Key Metric | Pre-Implementation (Baseline) | Post-Implementation (3 Months) | Improvement % |
Dispatch Time | 120 Minutes | 45 Minutes | 62.5% |
Billing Accuracy | 85% | 99.5% | 17% |
Fleet Utilization | 65% | 82% | 26% |
Fuel Cost/Trip | High (Inefficient Routes) | Optimized (Route Planning) | 12% Saving |
Deep Dive: Engineering Route Optimization
One of the most complex technical challenges was reducing "empty miles"—the distance a truck travels without cargo. In the Indian market, where return loads are often difficult to secure, this is the single biggest drain on profitability.
Our engineering team implemented a predictive model. Using historical data stored in the PostgreSQL database, the system identifies potential backhaul opportunities near the destination of the primary trip. When a dispatcher assigns a route, the system suggests a "best fit" return cargo if one is available in the radius.
Technically, this required implementing a spatial indexing system (using PostGIS). This allowed us to perform high-speed geospatial queries to find available freight within a specific radius of a truck’s current location, effectively turning the TMS into a marketplace-in-a-box for the company.
Ensuring Data Integrity and Security
Logistics data is sensitive. Contractual pricing, client lists, and driver payroll details must be protected. We enforced a strict Zero Trust security model.
Encryption: All data in transit is encrypted using TLS 1.3. Data at rest is encrypted using AES-256.
Role-Based Access Control (RBAC): We implemented granular permissions. A driver can only view their assigned route and specific cargo information, while a branch manager has access to the full regional performance dashboard.
Audit Logging: Every action—from changing a shipping rate to modifying a driver’s log—is captured in an immutable audit log. This provides the client with a permanent record for dispute resolution and compliance.
The Role of User Experience (UX) in Adoption
A common pitfall in logistics software is building a system that requires a PhD to operate. We prioritized an "Operations-First" UI design.
For the drivers, the app interface is intentionally Spartan. We minimized text input, relying instead on large, color-coded buttons. Critical alerts (such as "Route Deviation" or "Speeding Warning") are accompanied by audio cues. This design choice was vital in ensuring high adoption rates within the first 14 days of the rollout. We treated the driver app not as an administrative tool, but as a utility tool, ensuring that it was as simple to use as a navigation app.
Scaling for the Future: The Infrastructure Roadmap
The 14-week sprint resulted in a stable MVP, but our roadmap was designed for long-term growth. We utilized Kubernetes (EKS) for container orchestration, which allows the client to scale horizontally as their fleet size grows. Whether the company adds 10 trucks or 10,000, the infrastructure is equipped to handle the load without requiring a code rewrite.
Furthermore, we integrated a data-lake approach. While the operational database is optimized for transactions, we established an automated ETL pipeline that pushes anonymized data into a S3 bucket. This serves as the foundation for the client’s future Machine Learning initiatives, such as predictive maintenance (forecasting when a vehicle component might fail based on usage patterns) and demand forecasting.
Lessons Learned: Building Under Pressure
The 14-week timeline forced us to be ruthless about prioritization. We learned that the "perfect" solution is often the enemy of the "deployed" solution. By focusing on the core functional requirements and utilizing proven, open-source libraries for standard tasks (like authentication and data validation), we saved countless hours of development time.
The success of this project serves as a testament to the fact that digital transformation in traditional sectors like freight does not always require years of planning. With a clear vision, a focus on scalable architecture, and a commitment to user-centric design, even the most complex legacy operations can be revitalized rapidly.
FAQs
Why did you choose a 14-week timeline for this project?
Framer is a design tool that allows you to design websites on a freeform canvas, and then publish them as websites with a single click.
Web Personalisation
Framer is a design tool that allows you to design websites on a freeform canvas, and then publish them as websites with a single click.
UI and UX Design
Framer is a design tool that allows you to design websites on a freeform canvas, and then publish them as websites with a single click.
Search Engine Optimisation
Framer is a design tool that allows you to design websites on a freeform canvas, and then publish them as websites with a single click.
CRM and ERP Solutions
Framer is a design tool that allows you to design websites on a freeform canvas, and then publish them as websites with a single click.
Ecommerce
Framer is a design tool that allows you to design websites on a freeform canvas, and then publish them as websites with a single click.
Email Marketing
Framer is a design tool that allows you to design websites on a freeform canvas, and then publish them as websites with a single click.
Marketing Automation
Framer is a design tool that allows you to design websites on a freeform canvas, and then publish them as websites with a single click.
Chatbots and Conversational AI
Framer is a design tool that allows you to design websites on a freeform canvas, and then publish them as websites with a single click.
Chatbots and Conversational AI
Framer is a design tool that allows you to design websites on a freeform canvas, and then publish them as websites with a single click.
Related Blogs
We know your space
Explore our latest UI/UX Case Studies that showcase how our process-driven creativity transforms complex ideas into real, measurable business results, step by step.

AI and Data Analytics
•
Aug 19, 2026
Context Engineering for Enterprise AI Agents: Memory, Retrieval, Tools and State Management

AI and Data Analytics
•
Aug 19, 2026
Enterprise RAG vs Agentic RAG vs AI Search: Which Architecture Should You Build?

AI and Data Analytics
•
Aug 19, 2026
Enterprise Semantic Layer for AI Agents: How to Produce Trusted Business Answers
Let's work together
Have a project in mind?
Let's make it real.
Tell us what you're building. We'll bring the design, technology, and thinking to make it happen.
Fill up the following form to start a conversation
with our team
Let's work together
Have a project in mind?
Let's make it real.
Tell us what you're building. We'll bring the design, technology, and thinking to make it happen.
Fill up the following form to start a conversation with our team
Let's work together
Have a project in mind?
Let's make it real.
Tell us what you're building. We'll bring the design, technology, and thinking to make it happen.
Fill up the following form to start a conversation
with our team
Services
Services
© 2026 projectsupply
Part of Tangle
Services
© 2026 projectsupply
Part of Tangle
