Library Settings Get Help
Stacktora
Stacktora / Vault / Usage Metering & Billing
Payments by @ops

Usage Metering & Billing

Track consumption — API calls, tokens, seats, whatever your unit is — in Postgres with Redis for fast real-time counters, and turn it into billable line items via Stripe. Distinct from a subscription-SaaS starter: this is for usage-based pricing, not flat monthly plans.

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 usage-metering-billing --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