Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

#523 - Centralize and type environment configuration

Open
#528 0 comments 0 reactions 1 assignee View on GitHub

@brijesh-amin is already working on this.

Since Jul 17, 2026.

Assessment

This issue has not been assessed yet.

Description

Parent: #523

Objective

Create a single validated env/config surface to prevent late runtime failures and inconsistent module-level env access.

In scope

  • Introduce centralized env schema validation (required vars + type coercion)
  • Export typed config consumed by runtime modules
  • Migrate selected modules from direct process.env reads to typed config

Acceptance criteria

  • Startup fails fast with actionable errors when required env vars are missing/invalid
  • Typed config object is the primary read path in touched modules
  • Reduced ad-hoc env access in updated areas
  • Tests cover invalid/missing env behavior

Notes

Adopt incrementally to minimize merge conflict risk.

Dominant language
TypeScript
Stars
1
Forks
7
PR merge metrics
No merged PRs in 30d

Getting set up

  • Ships a Dockerfile or Docker Compose file
  • No pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from bcgov/range-api

All issues in bcgov/range-api

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.