Skip to content

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

Merged
KarinePistili merged 4 commits into
ruxailab:mainfrom
sohampirale:fix/hardcoded_functions_url
Jun 8, 2026
Merged

Refactor: Replace Hardcoded Firebase Function URL with Environment Configuration#56
KarinePistili merged 4 commits into
ruxailab:mainfrom
sohampirale:fix/hardcoded_functions_url

Conversation

@sohampirale

Copy link
Copy Markdown
Contributor

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

@KarinePistili
KarinePistili merged commit 9dc958d into ruxailab:main Jun 8, 2026
1 check passed
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

2 participants