★ Featured Live Private Repository Full-Stack

Momentum Logistics Services

A complete logistics platform for a Poland-based company — a public marketing website, a full user dashboard for shipment creation and tracking, and an admin CMS with role-based access control. Replaced a manual, visit-based estimation process with automated carrier rate calculation and a KSef-compliant invoicing system.

Next.js TypeScript Express.js PostgreSQL Prisma Stripe PayU Poland FedEx API DHL API
View Live Project GitHub ← Back to Projects
Momentum Logistics Services website screenshot

Project Overview

Momentum Logistics Services (MLS) is a shipping and logistics company based in Poland, helping clients send packages domestically and internationally via FedEx, DHL, and other carriers. The business had a functioning invoicing tool internally, but no public web presence and no automated way to generate shipping estimates — every quote required manual intervention, often including in-person visits.

The engagement covered three interconnected products, each living in its own codebase:

  • mls-client — A Next.js application serving both the public marketing website and the authenticated user dashboard, where customers manage shipments, get estimates, and pay invoices
  • mls-admin — A separate Next.js admin dashboard for staff and administrators, with RBAC, user and shipment management, commission configuration, and security controls
  • mls-server — An Express.js backend (running on Bun) providing the REST API, business logic, carrier integrations, payment processing, invoicing, and email/SMS services

Tech Stack

Client & Admin (Frontend)

  • Next.js (App Router) — Server components for marketing pages, client components for the interactive shipment dashboard and admin UI
  • TypeScript — Strict type safety with Zod schemas for all form inputs and API responses
  • Tailwind CSS + shadcn/ui — Admin dashboard built on shadcn/ui primitives; client app uses a custom CSS variable design system
  • Zustand — Lightweight global state for auth, shipment, invoice, and country stores
  • TanStack Query + React Hook Form — Data fetching, caching, and form validation
  • Google Places API — Address autocomplete and verification throughout the shipment creation flow

Backend

  • Express.js on Bun — REST API with OpenAPI 3.0 documentation auto-generated from Zod schemas
  • PostgreSQL + Prisma — Relational data store with 30+ migrations; Zod schemas auto-generated from Prisma models
  • FedEx API + DHL eCommerce API + Inpost API — Rate estimation, service level options, and shipment tracking
  • Stripe + PayU Poland — Dual payment gateways with automatic fallback logic and webhook verification
  • Nodemailer + Brevo SMTP — Transactional emails — invoices, password resets, shipment notifications, and payment reminders
  • Twilio — Phone number verification via SMS
  • Free Currency API — Real-time exchange rates for multi-currency support
← All Projects
Next Case Study → Schorlarle