1.1 KiB
1.1 KiB
Project Decisions
These decisions close the open items from AGENTS.md § 11 for the current build.
- Charging method: manual deposits first, with USDT/manual references stored in
deposits.tx_ref. - Backend and database: Node.js, Express, MySQL/MariaDB.
- Frontend: static HTML/CSS/JavaScript served from
public/by Express. - Currency: USD-denominated decimal balances with four fractional digits.
- Markup: global default from
DEFAULT_MARKUP_PERCENT, stored per synced service asmarkup_percent, with admin override forsell_priceor service activation. - Provider API: Perfect Panel-compatible API through
PROVIDER_API_URLandPROVIDER_API_KEY. Real provider credentials must be configured in environment variables before production. - Languages: Arabic UI/messages for the current frontend; API internals and code comments stay English.
Partial order handling:
partialorders are recorded withremains,start_count, andprovider_charge.- Automatic refunds are intentionally disabled for
partialuntil the provider's exact partial/refund semantics are confirmed.