Library Settings Get Help
Stacktora
Stacktora / Vault / Go + Postgres + Redis: Multi-tenant Rate-Limited API Gateway
API by @ops

Go + Postgres + Redis: Multi-tenant Rate-Limited API Gateway

Per-tenant quotas and rate limits in front of a multi-tenant SaaS backend, tenant identity resolved from Postgres, limits enforced via Redis — distinct from the general API Gateway & Rate Limiter recipe: that's single-tenant, this is quota isolation between customers sharing one deployment.

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

The stack

Go 1.26 PostgreSQLRedis

Install

# pulls this exact recipe straight from the Vault
$ npx stacktora install go-multitenant-rate-limited-gateway --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