Skip to content

fix: Backend: Implement environment configuration and validation#147

Closed
supreme2580 wants to merge 1 commit intoMissBlue00:mainfrom
supreme2580:fix/ISSUE-002
Closed

fix: Backend: Implement environment configuration and validation#147
supreme2580 wants to merge 1 commit intoMissBlue00:mainfrom
supreme2580:fix/ISSUE-002

Conversation

@supreme2580
Copy link
Copy Markdown
Contributor

Fixes ISSUE-002: Set up a robust configuration module using NestJS @nestjs/config. Implement schema validation to ensure the application fails fast if critical environment variables are missing or invalid. Requirements: Implement ConfigModule.forRoot() in app.module.ts. Add schema validation using zod or joi. Required Variables: DATABASE_URL (PostgreSQL connection string) JWT_SECRET (Authentication signing key) TREASURY_PRIVATE_KEY (Stellar treasury signing key) STELLAR_RPC_URL (Horizon/Soroban RPC) BTC_NODE_URL, ETH_NODE_URL REDIS_URL (Queue management) Failure Policy: The application must exit during startup with a clear error message if validation fails.

@vercel
Copy link
Copy Markdown

vercel Bot commented May 5, 2026

Someone is attempting to deploy a commit to the missblue00's projects Team on Vercel.

A member of the Team first needs to authorize it.

@supreme2580 supreme2580 closed this May 5, 2026
@supreme2580 supreme2580 deleted the fix/ISSUE-002 branch May 5, 2026 02:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant