← Back to selected work

Building Kelevo

A transportation-management application shaped by experience at the dispatch desk.

Independent product · Oct 2025 – present · TypeScript, React, Node.js, PostgreSQL

Context and scope

A freight dispatcher works across rate confirmations, driver assignments, delivery updates, and settlement statements. My experience in trucking and dispatch shaped Kelevo’s data model and workflows.

I developed the application independently, including the interface, backend, database, and deployment. The public sandbox uses sample data and demonstrates the web application’s workflows.

The examples below focus on implementation decisions, the behavior covered by integration tests, and the limitations of each approach.

Architecture

Interface
React and TypeScript for dispatch, fleet, documents, and settlements.
API
Node.js and Express with request validation, authentication, and role checks.
Data
PostgreSQL and Prisma; organization-scoped service queries for tenant data.
Integrations
Stripe billing, document storage, and OCR-assisted rate-confirmation intake.
Delivery
Docker and Linux infrastructure, with GitHub Actions checks for formatting, lint, types, and tests.

A shared TypeScript package defines domain types and lifecycle vocabulary. CI checks help catch differences between these contracts and their use in the application. They complement runtime validation and integration tests.

Two engineering problems

Concurrent settlement sends

Two requests can try to send the same settlement at once. A correction can also try to void it while a send is in progress.

The send path locks the settlement row in a database transaction and checks its expected status and revision before calling the delivery provider. A second request based on an older revision is rejected. An intentional resend uses a newly read revision.

Verification: integration tests exercise two concurrent initial sends, send-versus-void ordering, and an intentional resend. The concurrent-send test checks that the provider callback is called once.

Trade-off: the database lock is held during the provider call. Database rollback also cannot undo an external delivery. If the provider accepts a message but the result is lost, the outcome can be ambiguous; this mechanism does not guarantee exactly-once delivery.

Repeated billing events

A past-due subscription can appear in more than one Stripe event. Resetting its grace deadline on each event would keep extending access.

The billing flow opens a seven-day grace window from the subscription event and writes the deadline only when it is unset. Repeated events in the same past-due cycle retain the existing deadline; recovery clears it.

Verification: PostgreSQL integration tests check that both subscription and entitlement deadlines are stored, repeated events do not extend them, recovery clears them, and stale events do not override newer state.

Trade-off: those tests need a real database because the behavior depends on conditional updates. They cover those event sequences, rather than every possible billing-provider failure.

Try the workflow

The sandbox opens a sample fleet. Inspect a load’s route and status, then explore the fleet and settlement screens.

Open the Kelevo demo →

A recorded rate-confirmation import using sample data. The recording shows an earlier interface; the live demo reflects the current application.

What I can walk through

The repository is private. In a technical discussion, I can explain the service boundaries, the tests above, and the limitations of the chosen approaches.

Get in touch

I’m interested in full-stack and backend work, particularly software for logistics, operations, and business workflows.