Skip to content

Tài liệu Developer

BANA là nền tảng Point of Sale thế hệ mới cho hộ kinh doanh và doanh nghiệp nhỏ Việt Nam (F&B, bán lẻ, dịch vụ). Đây là monorepo Bun dựng trên IGNIS Framework (microservice dependency-injection), với app desktop/cầm tay Tauri và stack web React. Mới với sản phẩm? Xem BANA là gì?

Số liệu chuẩn nằm ở Platform Facts

Danh mục dịch vụ, số liệu, dependency stack và messaging seam (Kafka + Debezium CDC, không phải Redis pub/sub) được duy trì ở Platform Facts, tự sinh từ source. Trang này link tới các trang chi tiết - không bao giờ lặp lại version, port hay số đếm.

Bắt đầu

Hướng dẫnBạn sẽ học gì
Getting StartedClone, cài đặt, build, chạy service đầu tiên
Hệ thống BuildTarget Makefile, đồ thị phụ thuộc, build Docker
Tham chiếu Môi trườngMọi biến môi trường của tất cả service
Git WorkflowNhánh, commit, MR, review code, glab
IGNIS PatternsPhân cấp application, DI, controller factory, pattern model

Kiến trúc & tham chiếu

TrangNội dung
Kiến trúc Hệ thốngDanh mục dịch vụ, chuỗi phụ thuộc, ánh xạ schema, ma trận component
Kiến trúc Sự kiệnKafka event, Debezium CDC, WebSocket topic, HTTP webhook
Hướng dẫn Cơ sở Dữ liệu14 schema PostgreSQL, Drizzle ORM, quy trình migration
Hướng dẫn TestingBun test runner, preload mocking, mock factory
Bảo mậtRanh giới tin cậy, xác thực, xử lý PII, hardening
Platform FactsRegistry chuẩn, số liệu, dependency stack, version hạ tầng

Toàn cảnh hệ thống

Topology đầy đủ, đồ thị phụ thuộc và phân cấp Issuer/Verifier: Kiến trúc Hệ thống. Danh mục dịch vụ live: Platform Facts.

Package backend

18 package IGNIS dùng chung @nx/core (base class, 14 schema DB, tiện ích). Danh mục đầy đủ kèm port, vai trò và phụ thuộc: Tổng quan Package Backend.

MảngPackage
Nền tảngcore
Identity & catalogidentity · commerce · search · asset
Bán hàngsale · pricing · inventory
Tiền & tuân thủpayment · finance · ledger · invoice · taxation
Platformsignal · outreach · licensing · gateway · helpdesk

App frontend & tích hợp

Bề mặtỞ đâu
App frontend (POS, back office, UI kit)Applications · Frontend Patterns
Tích hợp bên thứ ba (thanh toán VNPAY, hóa đơn điện tử, T-VAN)Integrations
Triển khai, cluster, observabilityInfrastructure

Đi tiếp đâu

Bạn là…Bắt đầu với
Dev backend mớiGetting StartedCoreIGNIS Patterns
Dev frontendApplicationsFrontend Patterns
SRE / DevOpsInfrastructurePlatform Facts
Dev tích hợpIntegrationsKiến trúc Sự kiện

Proprietary and Confidential. Unauthorized copying, distribution, or use of this software is strictly prohibited.