Truck dispatching website

Freights Logistic

Secure dispatching marketing site with rate-limited Nodemailer contact for a US truck dispatching brand.

Freights Logistic project preview

Background & Context

Freight Logistic LLC markets US truck dispatching and road freight services to owner-operators and small fleets. The business needs online credibility—services, pricing tiers, compliance storytelling, carrier onboarding copy—and a reliable inquiry channel. A naive contact form would invite spam and risk exposing SMTP credentials in the browser.

Tekvers built a Next.js 15 App Router marketing site (React 19, TypeScript, Tailwind CSS 4) with multi-page brand content: home, eight service detail pages, about, carriers, compliance, pricing, testimonials, FAQ, contact, and privacy. Canonical metadata targets https://www.freightlogistic.com. Interactive UI includes flip service cards, testimonial carousel, FAQ accordion, scroll animations, and floating call/email actions. Public contact surfaces include freightlogistic01@gmail.com and +1 (949) 828-1756, with Miami, Florida office copy.

The only server-side business logic is POST /api/contact. There is no load board, carrier login, CRM storage, payments, or database—leads are emailed, not stored in-app. This is a lead-generation website, not a logistics operations platform.

The Challenge

A truck dispatching brand needed a professional multi-page marketing presence and a hardened contact pipeline—without building a load board, carrier portal, or CRM, and without leaving SMTP credentials on the client. Without a coherent truck dispatching website foundation, Freights Logistic stakeholders faced fragmented tools, slow handoffs, and limited visibility—classic failure modes Tekvers designs against.

The Solution

Freights Logistic: Secure dispatching marketing site with rate-limited Nodemailer contact for a US truck dispatching brand. Professional dispatching brand presence for inbound freight inquiries. Tekvers delivered a maintainable truck dispatching website system for Freights Logistic using Next.js, TypeScript, Tailwind CSS, Nodemailer, with phased rollout, operator workflows, and documentation suited to long-term ownership.

Our Approach

  1. Credibility-first site structure

    We scoped pages around how shippers and carriers evaluate dispatch partners: services, how-it-works, pricing tiers, compliance/FMCSA-oriented copy, carriers onboarding, testimonials, and FAQ—then concentrated engineering on the contact path that generates leads.

  2. Hardened server-side contact

    Inquiries POST JSON to `/api/contact`. The handler validates required fields, sanitizes input (trim, strip `<>`, truncate), verifies SMTP, and sends HTML/text mail to `info@freightslogistic.com` with reply-to set to the submitter—keeping credentials off the public client.

  3. Abuse controls without a database

    In-memory IP rate limiting (5 / 15 minutes via `x-forwarded-for` / `x-real-ip`) returns 429 when exceeded. Limits reset on process restart and are per-instance—documented honestly for multi-instance hosting rather than oversold as a distributed WAF.

What We Delivered

  • Next.js 15 / React 19 / TypeScript / Tailwind 4 marketing site
  • Multi-page IA: home, 8 service details, about, carriers, compliance, pricing, testimonials, FAQ, contact, privacy
  • Interactive UI: flip cards, carousel, accordion, scroll animations, floating contact actions
  • `POST /api/contact` Nodemailer SMTP pipeline
  • Input sanitization and length validation on lead fields
  • IP-based rate limiting (5 requests / 15 minutes)
  • SEO metadata (Open Graph / Twitter) and responsive navigation
  • Operational notes for SMTP env and rate-limit behavior under scale

Outcomes & Impact

  • Professional dispatching brand presence for inbound freight inquiries
  • Spam pressure reduced via per-IP rate limits on the contact API
  • SMTP credentials kept off the browser
  • Clear scope: marketing + email leads—not a logistics SaaS

Freight Logistic can publish a credible dispatching site and collect real inquiries by email—without turning the contact form into an open spam funnel or pretending the website is a load board.

Technology Stack

  • Next.js
  • TypeScript
  • Tailwind CSS
  • Nodemailer

Services Delivered

Guides & articles from this niche

Planning a similar platform? Share your scope and we will map architecture, delivery phases, and a realistic timeline.