ACM Calunga
Internal stock & sales management system for a retail store
Internal stock and sales management system (a lightweight ERP) for a retail store selling clothing, footwear, cosmetics, accessories, and school supplies in Angola. Covers the full inventory lifecycle — goods receiving, stock adjustments, physical inventory counts, point-of-sale checkout, dashboards and reports — with role-based access for Administrator, Warehouse Manager, and Salesperson/Cashier profiles. Installable as a PWA.
The Problem
The store was tracking stock and sales through manual, spreadsheet-based processes with no real-time visibility, no audit trail, and no way to prevent overselling or restrict sensitive data (like purchase cost) from staff who shouldn't see it.
Key Features
- ▸Ledger + cache consistency design: stock quantity is a denormalized cache kept in sync with an append-only movement ledger, avoiding expensive aggregation while preserving a full audit trail
- ▸Deadlock-safe atomic sales: cart items are sorted before row-locking so concurrent sales sharing products in different order never deadlock; totals are always recalculated server-side, never trusted from the client
- ▸Role-based data and field scoping enforced through Policies and API Resources — cashiers' queries are scoped to their own sales, purchase cost is hidden from the Salesperson role entirely server-side
- ▸Immutable audit logging via a dedicated service called explicitly at write points, capturing old/new values, IP, and user-agent with no edit or delete route ever exposed on the log
More technical details (3)
- ▸Offline-aware PWA: cache-first for the app shell, network-first with IndexedDB fallback for reads — but offline writes are deliberately blocked to avoid data-integrity risk, a conscious documented trade-off
- ▸Physical inventory reconciliation: stock counts generate adjustment movements automatically from counted-vs-expected differences
- ▸Ops-conscious deployment: isolated Nginx site and its own Postgres database on a shared VPS, with automated daily encrypted-auth backups and 14-day rotation
Tech Stack
Role
Designed and built: architecture, backend API, frontend SPA/PWA, database schema, deployment, and operations (backups, systemd services) — bringing in contractors when the scope called for it.
Other projects

MedFreela
Healthcare shift hiring and scheduling in one platform
MedFreela organizes healthcare shifts previously coordinated in a WhatsApp group. Clinics publish opportunities with specialty, schedule, pay and equipment; professionals submit credentials for review, find shifts and apply; institutions review applications and choose candidates. The platform also tracks payment status, professional earnings and consulting-room reservations.

AngolWifi — Online Store
Online plan purchases with automatic activation
Customer-facing store for internet plans and vouchers. After a customer pays through EMIS GPO, the store passes the confirmed payment to AngolWifi's separate management system via API, which activates the plan automatically. Customers no longer need to send a receipt through WhatsApp and wait for manual activation.