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