Work

2026

International Logistics Management System

DevFrontendBackend

A full-stack web application for managing international shipping containers across three warehouses in Hong Kong, China, and the United States.

Technologies

  • Next.js 16 (App Router) Server components and server actions for data fetching and mutations without a separate API layer.
  • Supabase (PostgreSQL) Relational database, authentication, and real-time-ready infrastructure for containers and cost templates.
  • Tailwind CSS v4 Utility-first styling with a clean, admin-panel aesthetic.
  • ExcelJS / XLSX Handles both Excel import (packing lists) and export (container reports, cost simulations).
  • dolarapi.com Proxied through a Next.js API route to fetch live Argentine dollar exchange rates.
  • Zod Schema validation for form inputs and server action payloads.
  • TanStack Table Interactive, sortable packing list table with column visibility controls.
  • Vercel Hosting platform with edge middleware for auth-based route protection.
Screenshot of the international logistics management system dashboard.

Project Overview

This is a full-stack internal tool built to manage international logistics operations across three origin warehouses: Hong Kong, China, and the United States. The system tracks shipping containers through their full lifecycle — from depot storage through customs clearance to finalization — and provides operational tools for cost estimation, volumetric planning, and packing list management. It was built for real-world import operations and deployed on Vercel with Supabase as the backend.

Objectives

  • Container Lifecycle Tracking — Enable full CRUD management of shipping containers with status progression through four states: depot, transit, customs, and finalized.
  • Import Cost Simulation — Provide an accurate, configurable cost calculator covering CIF components, customs duties, taxes, and operational expenses, with multi-exchange-rate support via a live Argentine dollar rates API.
  • Volumetric Planning — Allow operators to calculate how many boxes fit in a 40’ HC or 40’ Standard container by volume and weight capacity before loading.
  • Packing List Import — Support Excel file upload with flexible column mapping to import item lists directly into a container’s packing list.
  • Client Management — Maintain a client directory linked to containers and shipments.
  • Data Export — Export container listings and cost reports to Excel for reporting purposes.

Project Workflow

  • Architecture Planning — Defined the feature roadmap using a JIT Context Assembly system — a directory-based context layer designed to guide AI-assisted development with structured implementation plans per feature.
  • Auth & Foundations (F1) — Implemented Supabase authentication with SSR cookie handling via @supabase/ssr and Next.js middleware redirects to protect all routes.
  • Container CRUD (F2.1) — Built full create/read/update/delete flows for containers, including origin warehouse selection (HK, China, USA), container type, ETA, and status tracking.
  • Packing List Import (F2.2) — Developed an Excel parsing pipeline using xlsx and exceljs with an interactive column mapper for flexible CSV/XLSX ingestion.
  • Volumetric Calculator (F3.1) — Built a pure calculation engine that computes boxes-per-container by dimension and weight, with utilization percentage output.
  • Cost Calculator (F3.2) — Implemented a multi-stage cost engine (FOB → CIF → duties → taxes → operational expenses → total landed cost) with configurable cost matrix templates and live exchange rate selection.
  • Excel Exports (F7) — Added export functionality for containers and simulation results using exceljs.
  • Mobile Responsiveness (F9) — Implemented a responsive sidebar with hamburger menu and mobile-first layout adjustments.

Results and Impact

  • Operational Coverage — The system covers the full container management workflow end-to-end, from creation to finalization, across three international origin points.
  • Cost Accuracy — The configurable cost matrix allows operators to model different import scenarios with live exchange rate inputs, replacing manual spreadsheet calculations.
  • Time Savings on Packing Lists — The Excel import flow with dynamic column mapping eliminates manual data entry for item-level logistics data.
  • Mobile Access — The responsive layout allows logistics personnel to check container status and transit timelines from mobile devices.