Case Study
Forces Express
A unified international cargo & courier portal built with Next.js and MongoDB β featuring live shipment tracking, a self-service shipping calculator, and carrier consolidation across DHL, FedEx, Bluedart, and Ekart.

Buried under phone calls for basic quotes
Forces Express is an international courier and cargo agent based in India, consolidating shipments through premium carrier networks β DHL, FedEx, Bluedart, and Ekart. They handle everything from small parcels to bulk cargo, shipping to 220+ countries.
Their problem was operational: the support desk spent most of its day answering two types of calls β "how much to ship this to Germany?" and "where is my package?" Neither question required human intervention, but without a digital self-service layer, every inquiry meant a phone call, a manual rate lookup, and a callback with a quote.
They needed a portal that could handle rate calculations automatically (including the volumetric vs actual weight comparison that confuses most customers), provide real-time tracking without calling the office, and present their multi-carrier capability as a unified brand experience.
Goals
- Automate shipping rate quotes to eliminate 75% of support desk calls
- Build live tracking that works across DHL, FedEx, Bluedart, and Ekart
- Create a secure admin panel for shipment creation and milestone updates
- Present multi-carrier operations under a single unified brand
- Launch within 18 days to coincide with a carrier partnership expansion
Constraints
- Tracking data must standardize across carriers with different milestone formats
- Calculator must handle both actual and volumetric weight comparisons
- Admin dashboard security is critical β it controls live shipment data
- Must work globally β recipients track packages from 220+ countries
Measurable operational impact
Comparing support volume and operational metrics 90 days after launch.
What we built and why
Volumetric Rate Calculator
The calculator compares actual weight against volumetric weight (L x W x H / 5000) β whichever is higher determines the shipping rate. Users select destination country, input dimensions, and get an instant rate. This single feature eliminated 75% of support desk calls because the most common question was just 'how much does it cost?'
Unified Tracking Engine
Each shipment has a nested MongoDB document storing standardized milestone events β status, location, details, timestamp. Whether the underlying carrier is DHL or Bluedart, the customer-facing tracking page renders identical milestone cards. One tracking number, one consistent experience.
Secure Admin Dashboard
The admin panel is where shipments are created, tracking codes issued, and transit milestones posted. JWT authentication with bcrypt-hashed passwords protects these endpoints. Rate limiting prevents brute-force attempts. The admin can update any shipment's status in real-time, and the tracking page reflects changes immediately.
Carrier Consolidation Layer
Forces Express works with multiple carriers but presents as a single brand. The portal abstracts carrier details β customers never see which carrier handles their shipment. Service pages highlight capabilities (air freight, sea cargo, express delivery) without exposing the carrier matrix behind them.
Platform screens



Why we chose each tool
Next.js 16
Server-side rendering for SEO on service pages, API routes for tracking lookups and calculator logic, and static generation for marketing pages β all in one framework.
MongoDB + Mongoose
Shipment documents need nested arrays for transit milestones (each with status, location, timestamp). Document databases handle this naturally without JOIN-heavy relational queries.
JWT + bcryptjs
The admin dashboard creates and updates live shipments. JWT sessions with bcrypt-hashed credentials protect these endpoints without requiring a third-party auth service.
Indexed Tracking Queries
MongoDB compound indexes on trackingCode fields reduce lookup response times to sub-0.8s, even as the shipment collection grows.
Vercel Edge Network
Global CDN ensures tracking pages load fast for recipients worldwide β not just in India where the shipments originate.
18-day delivery sprint
Schema & Auth Design
Days 1β4
Designed MongoDB schemas for Shipments (with nested transit history arrays), Users, and Inquiries. Implemented bcrypt credential hashing and JWT session management.
Tracking & UI Build
Days 5β9
Built responsive landing pages, tracking search widget with indexed queries, doorstep pickup scheduling, and carrier service pages.
Shipping Calculator
Days 10β14
Developed the volumetric rate engine with country-grid pricing, dimension input validation, and instant rate display. Tested against 50+ real shipment scenarios.
Admin Portal & Deploy
Days 15β18
Built the secure admin dashboard for shipment creation, milestone posting, and inquiry management. Production deployment with CDN configuration for global tracking access.
Problems we solved
Standardizing Multi-Carrier Tracking
DHL, FedEx, Bluedart, and Ekart each use different status codes, location formats, and milestone naming conventions. Displaying these inconsistently would break the unified brand experience.
Solution: We designed a standardized milestone schema β each event stores a normalized status (picked up, in transit, out for delivery, delivered), a human-readable location, details, and timestamp. The admin enters milestones in this format regardless of carrier. The tracking UI renders them identically.
Sub-Second Tracking Lookups at Scale
As shipment volume grows, tracking lookups slow down. A full-collection scan on a tracking code is O(n) β unacceptable when customers are anxiously checking their package status.
Solution: Compound MongoDB indexes on trackingCode fields with a unique constraint. Lookups are now O(log n) regardless of collection size. We achieved consistent 0.8s response times including server-side rendering of the tracking page.
"The shipping calculator alone was worth the entire project. We used to get 30+ calls a day just asking for rates. Now customers get instant quotes online, and our support team focuses on actual shipment issues instead of answering 'how much to ship 5kg to Dubai?'
Questions about this project
Why build a custom logistics portal instead of using off-the-shelf shipping software?+
How does the shipping calculator handle volumetric vs actual weight?+
How does unified tracking work across different carriers?+
What security measures protect the admin dashboard?+
Can you build a similar portal for our logistics company?+
Similar projects
SaleBuy
AI-powered C2C marketplace with Gemini vision integration for auto-listing.
Nescon Lifts
B2B industrial catalog with multi-step lead qualification engine.
Online Planet
Full-stack e-commerce platform with admin panel and order management.
Need a logistics or operations platform?
We build custom portals with tracking systems, calculators, and admin dashboards.