Skip to content
TP
Download CV
All work

Web / Mobile / IoT & devices / AI

Mineral Production & Export Supervision

From company registration to the roadside checkpoint — web, mobile and edge devices on one workflow.

My role
Main developer of the second-generation platform (about 95% of commits after the split): API, admin, company portal and mobile app.
Platforms
Web, Mobile app, API
Year
2025 – 2026
Engagement
Full-time role

Built for a client. Names, logos and identifiers are blurred; all data shown is demo data.

Architecture

Companiesportal · permitsOfficerscheckpoint appMinistryadmin · AI assistPostgreSQLDrizzle · PostGISEdge devicesWIM · gates · GPSPaymentstax QR · e-signWorkflow APITypeScript · outbox

Screens for this project are under a strict NDA. The diagram shows how the system fits together.

Overview

A national platform that supervises mineral production and export. Companies register and pass verification, submit annual plans and quotas, and pay royalties calculated by a formula engine through a QR tax-payment gateway. Shipments get quality inspection, e-signed movement permits and transport manifests; on the road, GPS, electronic seals, weigh-in-motion stations and plate-reading gates feed readings that are matched to each manifest, and officers clear trucks from a checkpoint workspace. Executives get dashboards and an AI assistant that queries live data.

What I built

  • Six-stage workflow: verification → plan and quota → royalties → inspection → permit and manifest → checkpoint clearance
  • QR tax payments with callbacks, wallet, e-signature and certificates verified by QR
  • Checkpoint workspace for officers: checklists, penalties and voice notes
  • Live fleet map, route locking, concession GIS and CCTV / barrier monitors
  • AI assistant with tool calling over live data, plus OCR that pre-fills forms
  • Mobile app for company staff, officers and operators: manifests, trips, inspections

Engineering highlights

  1. 01Durable outbox worker: a Postgres advisory lock elects one leader and SKIP LOCKED stops two loops taking the same job, with retry and dead-letter
  2. 02Readings from weigh stations and gate cameras are correlated to manifests by plate and labelled matched, ambiguous or unmatched
  3. 03About 235 API test files and 250 admin guard tests; GitLab CI with SonarQube on the portal

→Contact

Let's build something that stays up.

I'm looking for a team where I can own meaningful systems. Hiring, or have a project in mind? I usually reply within a day.

Topic

This form opens your email app with the message filled in — nothing is stored on this site.