xforge · tài liệu FE

Storefront (người mua) #

FE bán hàng (web, app, Zalo Mini App): StorefrontClient (sdk/storefront.ts), token khách, /api/v1/storefront/*; spec riêng GET /storefront/openapi.json. Phần chung (khởi tạo client, lỗi, danh sách, ngôn ngữ): common.md. Giỏ, thanh toán, đơn hàng: FE.md của module (cart, payments, checkout…).


1. Client và store (ADR-0027) #

2. Tài khoản khách #

3. Đăng nhập mạng xã hội (ADR-0048) #

storefrontSocialProviders() → nút cho từng provider (clientId công khai cho SDK). Kết quả đăng nhập giống storefrontLogin + outcome (created / signed_in / linked).

Nguồn: xforge-core: docs/fe/storefront.md