Skip to content

Move hardcoded API endpoints and tokens to environment configuration#22

Open
dipak0000812 wants to merge 1 commit into
chaoss:mainfrom
dipak0000812:fix/env-config-api-endpoints
Open

Move hardcoded API endpoints and tokens to environment configuration#22
dipak0000812 wants to merge 1 commit into
chaoss:mainfrom
dipak0000812:fix/env-config-api-endpoints

Conversation

@dipak0000812
Copy link
Copy Markdown

Summary

Fixes #21.

Moves hardcoded backend API endpoints to environment-based configuration and adds a sample environment file for local setup.

Changes

  • Added OSDG_API_URL config in backend/app.py
  • Added AURORA_API_URL config in backend/aurora_api.py
  • Added .env.example
  • Updated README setup instructions

Why

This improves portability across local, staging, and production environments without requiring code changes when endpoints are updated.

Signed-off-by: Dipak <dhangardip09@gmail.com>
@dipak0000812 dipak0000812 force-pushed the fix/env-config-api-endpoints branch from 99eacee to daa3a1d Compare April 27, 2026 15:30
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.

Move hardcoded API endpoints and tokens to environment configuration

1 participant