NexaFx-js is a high-performance NestJS enterprise platform supporting FX rates, multi-currency wallets, double-entry ledger bookkeeping, compliance, and Stellar blockchain transactions.
- Multi-Currency Wallets: Manage wallet balances with threshold-based auto-sweeping.
- FX Rates & Conversions: Real-time exchange rate failover with locked preview quotes.
- Double-Entry Ledger: Immutable transaction recording and balance reconciliation.
- Compliance & Security: Integrated KYC/AML, IP allowlisting, and JWT authentication.
- Metrics & Observability: OpenTelemetry tracing and Prometheus metrics exposition.
- Node.js:
>=20.0.0 - Docker & Docker Compose
- PostgreSQL 14+
- Redis 7+
npm installCopy .env.example to .env and fill in required variables:
cp .env.example .env# Development mode
npm run start:dev
# Production build
npm run build
npm run start:prod# Unit tests
npm test
# Type checking
npx tsc --noEmit
# Linter
npm run lint
# Check dependency wildcards
npm run check:no-wildcard-depsdocker-compose up --build