Stacktora
Stacktora / Vault / Digital Wallet / Stored Balance Backend
Payments by @ops

Digital Wallet / Stored Balance Backend

A stored-value balance (gift cards, in-app currency, prepaid credit) with Postgres as the source of truth and Redis for fast balance checks — distinct from the Ledger recipe (double-entry accounting) and Usage Metering (consumption billing): this is money already collected, sitting in an account, waiting to be spent.

Loads this recipe straight into the wizard — every setting stays editable before you generate anything.

The stack

Node.js 24 PostgreSQLRedis

Install

# pulls this exact recipe straight from the Vault
$ npx stacktora install digital-wallet-stored-balance --remote
$ stacktora sync   # generate the files

What you get

docker-compose.ymlMakefileDockerfileREADME.md.env.example.gitignore.dockerignore.github/workflows/ci.yml.tool-versions.editorconfigProcfile … and more

More from the Vault