Solutions Software & digital systems

GREAT PEARL / ENGINEERING AREA 01

Make your everyday
work flow better.

When spreadsheets, manual steps and disconnected tools start holding you back, the next step is a system that fits your work.

A PRACTICAL STARTING POINT

Shape the right
piece of work.

Our engineering work includes application backends, operational interfaces and an identity platform.

  1. 01

    Business applications & operational portals

  2. 02

    Workflow design & system integrations

  3. 03

    APIs & application backends

SOFTWARE ENGINEERING WALKTHROUGH

Step-by-step:
How we build business software.

A technical breakdown of the layers, technologies and container workflows we engineer to turn an operational requirement into a running application.

Architecture flow connecting role-based frontend portals to backend APIs, PostgreSQL and authentication services
STEP 01 / ARCHITECTURE & API CONTRACT

Role-based portals, REST APIs & data layer

  • Next.js / Tailwind CSS
  • REST APIs (Bearer JWT)
  • PostgreSQL
  • Keycloak SSO
  1. 1. SSO & JWT issuance: Users sign in from any device via the Login Page; Keycloak validates credentials against the Auth DB and issues a signed JWT stored in a session cookie.
  2. 2. Role-scoped frontend portals: Dedicated Next.js / Tailwind views (CEO Dashboard, Finance, Dev, Strategy, Sales and Client Portals) attach Bearer tokens to every outbound API call.
  3. 3. Modular API & RBAC enforcement: The Backend API Auth Module verifies JWT signatures and role claims before routing CRUD operations through Projects, Tasks, Invoices, Leads, Documents and Tickets endpoints.
  4. 4. Relational persistence: PostgreSQL stores normalized domain tables (Users synced from Keycloak, Projects, Tasks, Invoices/Payments, Leads, Documents and Support Tickets).
Minimal operational portal interface showing announcements, assigned work, people and revenue sections
STEP 02 / OPERATIONAL WORKSPACE UI

Executive & team workspace implementation

  • Role-Aware UI
  • Component State
  • REST Data Binding
  • Responsive Layout
  1. 1. Identity-bound workspace header: The portal resolves the authenticated user profile and active role badge (e.g., CEO / Admin) directly from the verified session context.
  2. 2. Structured operational modules: Work is segmented into clean, low-noise functional cards: company-wide Announcements, cross-project My Work queues (Open, Due this week, Overdue), People/Headcount and Revenue.
  3. 3. Live API state hydration: Each workspace card binds directly to its corresponding backend REST endpoint, keeping daily task tracking, headcount and billing figures synchronized.
Docker image list showing great-pearl-hq-backend, great-pearl-hq-frontend, postgres and keycloak containers
STEP 03 / CONTAINER PACKAGING & RUNTIME

Multi-container build & deployment images

  • Docker Engine
  • great-pearl-hq-frontend
  • great-pearl-hq-backend
  • postgres:16-alpine
  • keycloak:25.0
  1. 1. Isolated service images: Frontend and backend codebases are packaged into versioned OCI images (great-pearl-hq-frontend:latest and great-pearl-hq-backend:latest) for deterministic builds.
  2. 2. Pinned data & identity containers: Database and identity tiers run on verified base images (postgres:16-alpine for low-footprint storage and quay.io/keycloak/keycloak:25.0 for SSO).
  3. 3. Local-to-server parity: Container networking links the frontend, API, PostgreSQL and Keycloak services identically across local workbench verification and Linux server deployment.
Great Pearl Mail corporate sign-in interface showing Corporate Email, password field and Botswana heritage crest
STEP 04 / GREAT PEARL MAIL PLATFORM

Corporate webmail gateway & IMAP/SMTP integration

  • TypeScript / Express 5
  • PostgreSQL 18 Mail State
  • IMAP / SMTP Transport
  • HTML Allowlist Sanitizer
  1. 1. Corporate mailbox authentication: Users sign in via the Great Pearl Mail gateway (`Corporate Email` + password) backed by Argon2id verification, 256-bit CSPRNG sessions and a default-deny browser gate.
  2. 2. Tenant-isolated mail state: Composite PostgreSQL 18 foreign keys bind SPECIAL-USE folders, custom labels, drafts, snooze state and 15-second background send jobs (`FOR UPDATE SKIP LOCKED`) strictly to tenant and mailbox.
  3. 3. Sanitized message rendering & delivery: Inbound messages pass through strict HTML allowlist sanitization while outbound mail routes through a serialized IMAP/SMTP pool with durable Sent-folder retry queues.

BRING YOUR CONTEXT

A few questions.
A clearer direction.

No technical specification needed. Start with what you know; we’ll discuss the requirements and dependencies together.

01What does your team do manually today?

02Who will use the application?

03Which existing tools must it connect to?

Start the conversation

Scope & commitments

Each engagement begins with discovery. Scope, delivery capacity, pricing and support are agreed before work starts.

YOUR NEXT MOVE STARTS HERE

Something in mind?
Let’s make it happen.

Tell us what’s getting in the way, or what you want to build. We’ll work through the fit and next step together.

Tell us about your project Or start on WhatsApp

RAMOTSWA, BOTSWANA SOFTWARE · SYSTEMS · IDENTITY