A maritime platform with clear system boundaries
Architected a layered maritime platform separating a Next.js PWA frontend, a Go (Huma/Fiber) API, and a PostgreSQL function layer, keeping all business logic in the database.
Work carried out: 2025
How the request reaches the database
Implementation overview of the request path, with outcomes and measurement context kept in the case text.
Frontend request
The maritime frontend requests structured data and presents the returned JSON.
Go API
The Go API handles routing, request validation, security and the database call.
PostgreSQL JSON
Database functions produce complete JSON, which the API returns unchanged.
one maritime platform, in three clean layers
Situation. NextMariner is a maritime platform covering professional networking, company reviews and educational sponsorships. The founder’s architecture contribution is recorded under the NextMariner engagement beginning in November 2025; the record does not distinguish a later employment period or establish that all of the product was delivered by Engineer ApS.
Task. As the architect, the call to make up front was where each kind of logic lived, with boundaries obvious enough to hold up under pressure instead of blurring the first time someone was in a hurry.
Action. It settled into three layers, one job each. The Next.js frontend does presentation and interactivity and nothing else. The Go API — Huma over Fiber — is deliberately thin: it routes, validates the request, applies the security filtering and orchestrates, but it holds no business logic at all. The business logic all lives in PostgreSQL functions, which assemble the full result and hand it back for the API to forward. So when a rule changes, it changes in one layer, in SQL, and the other two don’t need to know. The boundaries were written down and then enforced in review, because a convention nobody polices stops being one.
Result. The implemented architecture gives presentation, request handling and business rules separate responsibilities. The source records that separation and its rationale; it does not establish a measured improvement in delivery speed, reliability or business performance.

Photo: mherfurt / Pixabay 
Photo: atti69 / Pixabay
Bring this experience to your project
Use “A maritime platform with clear system boundaries” as a starting point for a similar challenge in your organisation. The services behind this work are available for your project. The shape of a system worked out on paper first, so the parts fit and the cost is known before anyone writes code.
Look behind the result
Read the situation, decisions and result in this example. We can discuss which parts transfer to your constraints and which need another approach. A maritime platform with clear system boundaries — one maritime platform, in three clean layers
Read next: Designed a JSON passthrough from Postgres to API. Or take a look at the full Portfolio.
We tell this one to clients as A maritime platform with clear system boundaries — see it with the other cases.
One piece of a longer record — and it is all on this site.
Every entry is written the same way: the situation, the task, what we did and what changed.

