YUSUF INAM
ISSUE #01 · 2026 Contact

Neptune Logistics ERP

The one system a freight forwarder runs its whole day on. It is private, so here is what it does without the screens.

Neptune ERP secure sign-in screen
Who it is for
Staff and clients of a Colombo freight forwarder
What it is
Jobs, customs forms, invoices and tracking
My part
Built end to end for the company
Built with
TypeScript · React · Electron · PostgreSQL

Read it your way

Showing the plain-words view, written so anyone can follow it. Switch to see the technical detail.

Showing the engineering view: names of tools, how the pieces talk and why they were chosen.

01

Why it exists

A shipment passes through many hands and many statuses, and the details used to live in spreadsheets and inboxes. The ERP keeps one version of the truth: the job, its customs declaration, its invoice and where the cargo is right now.

The idea in one lineOne shipment. One record. Everyone sees the same thing.
02

What it does

  • 01

    Jobs and shipments

    Every shipment is a job that moves through fourteen clear statuses.

    Job state machine with 14 statuses and a history of each change.

  • 02

    Customs forms

    Prepare the customs declaration (CUSDEC) without retyping the same details.

    CUSDEC data model populated from the job record.

  • 03

    Quotes

    Price a shipment and turn the quote into a job when the client says yes.

    Quote builder that converts to a job and carries its line items.

  • 04

    Invoices and accounts

    Invoices and client ledgers that always add up.

    Invoice builder with per-client ledgers.

  • 05

    Tracking

    Clients see where their cargo is without having to call.

    Client-facing status view on the same job record.

  • 06

    The right access

    Thirteen roles, from admin to driver. Staff see what they need, and the rules are enforced on the server.

    Role-based access in the service layer, so a hidden button is never the only protection.

  • 07

    Customer portal

    Customers sign in to follow their own shipments, without calling the office.

    A separate portal app with its own login and a milestone timeline per job.

  • 08

    Works offline

    The desktop app keeps working without the server and catches up when it is back.

    SQLite on the desktop with queued writes that replay against PostgreSQL on reconnect.

03

See it

  • The Neptune ERP sign-in page
    Sign-in page
The rest is private

This is a live client system, so only the sign-in page is public. A guided walkthrough shows the rest.

04

How it works

The same five steps every shipment goes through.

  1. 1
    Quote
    Quote builder
    Price the shipment for the client.
    Line items, taxes, validity.
  2. 2
    Declare
    CUSDEC model
    Prepare the customs declaration.
    Generated from the job.
  3. 3
    Clear
    Status transitions
    Customs clears the cargo.
    Guarded by role and state.
  4. 4
    Track
    Job timeline
    Client and staff follow progress.
    Every change is recorded.
  5. 5
    Bill
    Invoice + ledger
    Invoice and update the ledger.
    Per-client accounts.
05

What it is built with

Kept simple on purpose, because it has to run every working day.A small, boring stack on purpose: it has to run every working day.

  • TypeScript

    One typed language across the app, the server and the tests, so mistakes are caught before a customs form is wrong.

  • React + Material UI + Redux

    The screens: fast, consistent and accessible. Redux keeps shared state predictable.

  • Electron

    The installed desktop app for office PCs, with automatic updates and offline use.

  • Node.js + Express

    The API and every business rule, written once and shared by the desktop app and the server.

  • PostgreSQL + SQLite

    PostgreSQL is the shared database for the office. SQLite keeps the desktop app working offline.

  • Docker + nginx

    The server is packed so it runs the same everywhere, and nginx serves the website.

  • Proxmox + Portainer

    Proxmox gives the server its own room. Portainer shows and manages every container.

  • Tailscale

    A private network, so staff reach the server without opening any port to the internet.

  • Oracle Cloud

    A standby copy on Oracle Cloud's free tier, ready to take over if the main server is down.

  • Supabase + Google Cloud

    Off-site copies of the nightly backups.

  • GitHub Actions + Sentry

    Every change is checked before release, and errors are reported as they happen.

  • Vitest

    More than 240 test files guard the business rules, the permissions and the database.

06

What I did

  • Learned the freight workflow first, then wrote the software around it.
  • Built the desktop app, the server and the customer portal.
  • Set up and runs the servers: Proxmox, Docker, Portainer, Tailscale and a standby on Oracle Cloud.
  • Runs in production for the company every day, with updates, backups and recovery documented.
07

By the numbers

  • 14shipment statuses
  • 22operational documents
  • 13user roles
  • 240+automated test files
08

Read the docs

Every project has written documentation in plain words. Start at the top and go as deep as you like.

Want to see inside?

The system is private, but I am happy to give a guided walkthrough of how it works.