Project system brief
Commercial B2B overland freight platform, fleet waybill tracking, and lead qualification automation for PT Trukindo Logistik Prima.
Product Context
Product Context
Commercial B2B overland freight platform, fleet waybill tracking, and lead qualification automation for PT Trukindo Logistik Prima.
System Problem & Scope
System Problem & Scope
Handling corporate B2B Full Truckload (FTL) quote inquiries, intercity fleet waybill tracking, and commercial lead qualification within a structured, resilient system.
Engineering Constraints
Engineering Constraints
Isolating public self-service actions (3-step quote flow and waybill search) from internal operational tooling (lead scoring, human-in-the-loop approvals, and audit trails) with strict security barriers.
System Architecture Flow
System Architecture Flow
Dual-tier architecture combining a public commercial portal, an idempotent ingestion API with token bucket rate limiting, a PostgreSQL lead lifecycle state machine, and a fail-closed showcase gate for public presentations.
3-Step FTL Quote Intake
Active StageIdempotency & Rate Limiting
Lead Lifecycle FSM
Waybill & Fleet Lookup
PostgreSQL Audit Trail
3-Step FTL Quote Intake
Collects origin, destination, vehicle type, and cargo tonnage with instant volume estimations and Honeypot anti-spam defense.
Idempotency & Rate Limiting
Protects intake route handlers against replay attacks, duplicate submissions, and automated query bursts.
Lead Lifecycle FSM
Transitions inquiries through New, Qualified, Quoted, and Booked states with automated sales SLA monitoring.
Waybill & Fleet Lookup
Provides shippers real-time milestone checkpoints and delivery verification without revealing internal telematics hardware.
PostgreSQL Audit Trail
Maintains tamper-evident records of freight quotes, commercial decisions, and telematics event updates.
Execution & Failure-Mode Explorer
How the architecture behaves under real faults
Shippers submit FTL quote requests through Zod-validated endpoints that create a tracked lead and initial audit event.
Key Engineering Contributions
Key Engineering Contributions
Engineered full-stack and backend services, multi-step FTL quote calculation engine, telematics waybill lookup endpoints, request defense gates, and fail-closed public demo sandboxing.
Reliability & Integrity Guarantees
Reliability & Integrity Guarantees
Guaranteed through strict Zod boundary validation, distributed idempotency keys preventing duplicate submissions, immutable append-only event logs, and complete operational separation.