Admin Console

System Configuration

Global settings and configuration for the bonus system

🌍

Environment

Environment
production
Global Store Config
{"type":"dynamodb","region":"eu-central-1","tableName":"bonus-system-stage"}
ℹ️Environment variables are configured at deployment time
💾

Available Store Types

💾memory

In-memory storage

Use case: Development, testing
🔴redis

Redis-backed storage

Use case: Production, distributed systems
🟠dynamodb

AWS DynamoDB

Use case: Production, AWS deployments
📄jsonfile

JSON file-based (read-only)

Use case: GitOps, static configs
📝yamlfile

YAML file-based (read-only)

Use case: GitOps, static configs
📊

Ledger Configuration

Ledgers manage financial transactions and bonus balances.

🗄️
MongoDB Ledger

For persistent storage of transactions

🛡️
Circuit Breaker

Enabled for resilience

🔄
Retry Helper

Automatic retry on transient failures

🎯
Ledger Registry

Routes operations by scope

Configuration Location: src/lib/ledger/
🔌

Data Sources

Configure connections to external data sources

🍃
MongoDBConnected

Primary database for tenant data and bonus instances.

src/lib/db/mongodb.js
🔑
KV BackendsAvailable

Key-value stores for caching and session management.

src/lib/storage/
🔢
Counter BackendsAvailable

Distributed counters for wagering progress and limits.

src/lib/counters/
🧩

Plugin Registry

Available plugins for extending bonus system functionality

🎯

Fact Plugins

Extract facts from events

src/lib/factPlugins/
🎁

Bonus Plugins

Define bonus rules

src/lib/bonus/bonuses/
📊

Wagering Plugins

Calculate wagering progress

src/lib/bonus/plugins/wageringPlugins/
🎉

Reward Plugins

Generate bonus rewards

src/lib/bonus/plugins/rewardPlugins/
Boon Admin Console v1.0 • 2026