Featured Code & Architectures

Open Source & Engineering Systems

Real production architectures designed from the ground up for high throughput, data integrity, and long-term maintainability.

Open-Source Financial EngineOpen Source Core

QuickZhiin — Open Source ERP & Accounting Core

A high-integrity double-entry cloud accounting engine designed for statutory compliance. Features native real-time integration with Malaysia's LHDN MyInvois e-invoicing API, automated general ledger journalizing, and multi-tenant ledger isolation.

Key Architecture Highlights

  • •Strict double-entry bookkeeping validation engine
  • •Native Malaysia LHDN MyInvois JSON/XML validation and signing
  • •Multi-currency conversion with historical rate audit trails
  • •Multi-tenant database schema with strict tenant-level isolation
TypeScriptNext.jsNode.jsPostgreSQLPrismaDocker
Conversational AI Architecture

MZhiin — Conversational AI & WhatsApp Workflow Engine

A conversational automation architecture that converts unstructured WhatsApp voice notes into structured business data. Employs Whisper STT for audio transcription, LLM agents with domain guardrails, and BullMQ task queues for rate-limiting and retry resilience.

Key Architecture Highlights

  • •Whisper STT audio processing pipeline for informal multi-lingual voice notes
  • •Structured output extraction with Zod schema verification
  • •BullMQ asynchronous job queue with Redis for backpressure control
  • •Human-in-the-loop fallback escalation mechanism
TypeScriptNestJSFastAPIPythonRedisBullMQPostgreSQL
Vertical Operations Platform

OceanZhiin — Dive Resort & Operations ERP

A specialized ERP and reservation system for coastal resorts and dive operations. Manages complex resource allocations—including boat scheduling, equipment inventory tracking, instructor assignments, and diver safety certifications.

Key Architecture Highlights

  • •Multi-resource calendar engine with concurrency conflict detection
  • •Equipment lifecycle and scheduled maintenance tracking
  • •Offline-first client record sync for remote island connectivity
  • •Automated waiver and certification verification pipelines
TypeScriptReactNode.jsPostgreSQLTailwind CSS

Explore More Code on GitHub

Check out my personal repositories, open-source architectural patterns, and developer starter kits.