Skip to main content

KioskGaming Docs

Internal technical documentation for the KioskGaming system — a gaming kiosk platform consisting of a backend, admin panel, frontend, and related services.

🏗️ Server Architecture

Hạ tầng production: 5 server Hetzner sau Cloudflare — sơ đồ, deep dive, kế hoạch chuyển đổi và kiến trúc đích. Xem trang tổng hợp →

📚 Repo Docs — Backend & 5 Client Apps

Tài liệu phân tích 6 repo cốt lõi, mỗi repo gồm bản Tổng quan + Chi tiết kỹ thuật. Xem trang tổng hợp →

🔧

Backend — Core API

Node.js · Express · PostgreSQL · Redis · RabbitMQ — xác thực đa portal, ví & giao dịch.

Tổng quan →Chi tiếtSetup
🛠️

Admin

Bảng điều khiển nội bộ: quản lý user, duyệt rút tiền, cấu hình provider.

Tổng quan →Chi tiết
👑

Super Agent

Cổng Siêu Đại Lý — tầng cao nhất hệ phân phối, quản lý nhiều đại lý.

Tổng quan →Chi tiết
🤝

Agent

Cổng Đại Lý — quản lý mạng lưới shop, mua & phân phối credits.

Tổng quan →Chi tiết
🏪

Shop

Cổng chủ cửa hàng: player, cashier & ca làm việc, nạp/rút credits.

Tổng quan →Chi tiết
💵

Cashier

App thu ngân Android: ca làm việc, đếm tiền mặt, giao dịch credits.

Tổng quan →Chi tiết

Feature Guides

Tài liệu tính năng theo module (sidebar guides):

ModuleDescription
BackendBackend code review · Database review
AdminAdmin portal guides
Super AgentSuper Agent portal guides
AgentAgent portal guides
ShopShop portal guides
Cash SettlementĐối soát cash khi bán credit hierarchy

How to use this documentation

Docs are organized by feature. Each feature covers:

  • Overview and purpose
  • Database / API design
  • Request flow
  • Configuration and operations