# 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.

2025

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.

Role: Platform Architect
=> /categories/platform-architecture/ Categories: Platform Architecture
=> /categories/solution-architecture/ Categories: Solution Architecture
=> /categories/backend/ Categories: Backend Engineering
=> /categories/frontend/ Categories: Frontend Engineering
=> /categories/full-stack/ Categories: Full‑Stack Development
=> /categories/api/ Categories: APIs & Integration
=> /categories/databases/ Categories: Databases
=> /categories/postgresql/ Categories: PostgreSQL
=> /categories/technical-leadership/ Categories: Technical Leadership
=> /services/platform-architecture/ Services: Platform & Solution Architecture
=> /services/backend-development/ Services: Backend & API Development
=> /services/frontend-development/ Services: Frontend Development
=> /services/full-stack-development/ Services: Full‑Stack Product Development
=> /services/database-design/ Services: Database Design & Modeling

=> https://engineer.company/portfolio/a-maritime-platform-built-in-clean-layers/ This page on the web
