Skip to content

Comments

Refactor: Replace Hardcoded Firebase Function URL with Environment Configuration#56

Open
sohampirale wants to merge 2 commits intoruxailab:mainfrom
sohampirale:fix/hardcoded_functions_url
Open

Refactor: Replace Hardcoded Firebase Function URL with Environment Configuration#56
sohampirale wants to merge 2 commits intoruxailab:mainfrom
sohampirale:fix/hardcoded_functions_url

Conversation

@sohampirale
Copy link

Summary

Fixes : #55

This PR removes the hardcoded Firebase Function URL from the backend and replaces it with environment-based configuration to support flexible deployment across local and production environments.

Changes Made

  • Removed hardcoded Firebase function URL from the codebase
  • Introduced environment variable:
    • FUNCTIONS_ENDPOINT_URL – Firebase Functions URL (emulator or production Cloud Run URL)
    • USE_EMULATORS - to indicate local emulator usage
  • Added dotenv to requirements.txt

Screen Recording

Screencast.from.2026-02-08.09-32-54.webm

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.

[Bug]: Remove Hardcoded Firebase Function URL and Replace with Environment-Based Configuration

1 participant