Skip to content

Instantly share code, notes, and snippets.

View aungkyawminn's full-sized avatar
🎯
Focusing

Aung Kyaw Minn aungkyawminn

🎯
Focusing
View GitHub Profile

Platform Fee Rules – Design & Implementation Guide

This document defines how platform fee rules work in the Eventickat system. It is intended for backend developers, frontend developers, and admins who manage pricing rules.


1. Purpose of Platform Fee Rules

Platform fee rules define how much commission the platform earns from ticket sales.

Settlement Feature - Implementation Guide

Project: Admin-Backend (Event Ticketing System)
Module: SettlementModule
Feature: Organizer Settlement Management
Implementation Date: December 26, 2025
Last Updated: December 27, 2025


Ticket Price Calculation – Reverse Pricing Model

This document explains how Eventickat calculates ticket prices using a reverse pricing model where organizers specify what they want to receive, and the system calculates what customers will pay.


1. The Core Concept

Traditional Pricing (NOT our approach)

On-Prem WSO2 Kubernetes Deployment (Free & Open-Source – Tanzu Alternative)

Overview

This document describes a production-grade, fully free and open-source architecture for deploying WSO2 (API Manager / Micro Integrator / IS) on on‑prem VMware infrastructure, without using VMware Tanzu.

This stack is widely used in banks and regulated environments and avoids vendor lock‑in.

@aungkyawminn
aungkyawminn / 01-mutual-tls.md
Last active October 30, 2025 04:20
Brief about mTLS (Mutual Transport Layer Security)

Mutual TLS (mTLS) Authentication — General Overview

Mutual TLS (mTLS) is an extension of Transport Layer Security (TLS) where both client and server authenticate each other using X.509 digital certificates.
It provides a stronger trust model than standard TLS, where only the server presents a certificate.

mTLS is widely used across ecosystems such as:

  • API Gateways (WSO2, Kong, Apigee, AWS API Gateway)
  • Payment and Financial Networks (Visa VCAS, Mastercard MIP, banking integrations)
  • Microservices and Service Meshes (Envoy, Istio, Linkerd, AWS App Mesh)
  • Cloud and VPN Security (PrivateLink, Zero Trust Networks, Client VPNs)
@aungkyawminn
aungkyawminn / 01-kong-gw-aws-cloud-infra.md
Last active October 28, 2025 07:27
Designing a Scalable and Cost-Efficient Kong Gateway Architecture on AWS

Designing a Scalable and Cost-Efficient Kong Gateway Architecture on AWS

Using Amazon ECS and Aurora Serverless


1. Overview

This architecture demonstrates a Kong Gateway Hybrid Mode (Control Plane + Data Plane) deployment using AWS ECS (Fargate) and Aurora Serverless PostgreSQL, optimized for scalability, security, and cost efficiency.

🧩 WSO2 API Manager — Overview for Developers

WSO2 API Manager (APIM) is an open-source API management platform.
It helps organizations design, publish, secure, monitor, and manage APIs easily — whether for internal microservices or public developer portals.


🌍 What is API Management?

When multiple services or systems expose data through APIs, we need to:

Mobile Wallet — System Architecture Views

This document compiles five standard architecture views for the Mobile Wallet System:

  1. Use Case View
  2. Logical View
  3. Process View
  4. Development View (modular)
  5. Physical View

@aungkyawminn
aungkyawminn / 00-Card-Payments-Basics.md
Last active December 13, 2025 12:57
Card Payments Basics

Card payments processing is the global system that enables money to move securely between cardholders, merchants, banks, and networks. The lifecycle covers multiple stages — from the first tap or swipe at a POS terminal, to settlement of funds, reconciliation of records, and handling of exceptions like disputes or refunds.

Understanding these steps is essential for anyone entering the payments domain, because each process has its own purpose, participants, and standard ISO 8583 messages.

This guide walks you through 13 key processes with short explanations and visual Mermaid sequence diagrams.

A) Core sequential phases — backbone of most card payments

  1. Authorization
  2. Clearing
  3. Settlement
@aungkyawminn
aungkyawminn / 00-README.md
Last active December 13, 2025 13:01
Corporate Internet Banking

Corporate Internet Banking – Backend Development Guide

This guide explains how to implement the backend API for the finalized CIB data model with single‑role‑per‑user:

  • Each user has exactly one role via users.role_id.
  • Role scope lives in roles.scope (global, organization).
  • Organization membership is tracked by organization_users.

The guide includes per‑module playbooks, API shapes, status machines, and Mermaid diagrams.