Skip to content

removed environment varibale and created a example file #2

Open
Prabhatsingh001 wants to merge 5 commits intoubanand36:mainfrom
Prabhatsingh001:main
Open

removed environment varibale and created a example file #2
Prabhatsingh001 wants to merge 5 commits intoubanand36:mainfrom
Prabhatsingh001:main

Conversation

@Prabhatsingh001
Copy link

some value addition for u.........peace

Copilot AI review requested due to automatic review settings March 21, 2026 13:17
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR moves Firebase and SerpApi secrets/config out of client-side source files and into environment variables served by the Flask backend, and adds local-dev support files.

Changes:

  • Replace hardcoded Firebase web config in the browser with a runtime fetch from /api/firebase-config.
  • Read SERPAPI_API_KEY from environment instead of embedding it in app.py.
  • Add .gitignore, .env.example, and a requirements.txt file.

Reviewed changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
collabmate/static/firebase/firebase-config.js Fetches Firebase config from backend and initializes Firebase in the browser.
collabmate/app.py Adds /api/firebase-config endpoint and switches SerpApi key to env var.
collabmate/requirements.txt Adds Python dependency pins (currently appears to be incorrectly encoded).
collabmate/.gitignore Adds common Python/venv/env ignores.
collabmate/.env.example Adds example env variables for Firebase + SerpApi (currently mismatched with code).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

2 participants