Skip to content

[Backend] backend/.env.example is missing several env vars referenced in backend/src/config and lib, making first-time setup error-prone #1101

Description

@grantfox-oss

Join our community: https://t.me/+DOylgFv1jyJlNzM0

Why this matters

backend/.env.example is the canonical reference new contributors copy to .env. If variables consumed in backend/src/config/, backend/src/lib/pg-pool.ts, backend/src/lib/redis.ts, or backend/src/services/sorobanService.ts (e.g. pool size, Redis URL, RPC URL) aren't all listed there, first-time setup fails with unclear "undefined is not a valid config" errors instead of a clear missing-env message.

Acceptance criteria

  • Grep backend/src for all process.env.* reads
  • Cross-check every one appears in backend/.env.example with a sensible placeholder/default and comment
  • Add any missing entries

Files to touch

  • backend/.env.example

Out of scope

  • Adding runtime env validation (e.g. zod schema) — that's a separate feature
  • Changing default values used in code

Metadata

Metadata

Assignees

Labels

GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardOfficial Campaign | FWC26Campaign: Official Campaign | FWC26Stellar WaveIssues in the Stellar wave programbackendBackend related tasksdocsDocumentationgood first issueGood for newcomers

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions