ccsync icon indicating copy to clipboard operation
ccsync copied to clipboard

Remove firebase.ts from .gitignore & Add .env.example for Clarity

Open junaiddshaukat opened this issue 1 year ago • 4 comments

Description

Currently, firebase.ts is included in .gitignore, which prevents it from being tracked in the repository. This makes it difficult for new contributors to understand the Firebase setup. Also the firebase.ts file is importing in controller.ts file so that it gives errors.

Proposed Solution

  • Remove firebase.ts from .gitignore.
  • Add a firebase.ts file.
  • Add a .env.example file with required Firebase environment variables for easier setup.

Expected Outcome

  • Developers can see an example Firebase configuration.
  • The actual credentials remain secure using .env.
  • The setup process becomes clearer for new contributors.

Related Files

  • .gitignore
  • firebase.ts
  • .env.example

Would you like me to work on this?

Yes, I would like to take up this issue. 🚀

junaiddshaukat avatar Mar 26 '25 04:03 junaiddshaukat

@SGI-CAPP-AT2 I am not exposing the secrets, I just added like helping file that gives clarity to new contributors in setup. I face these issues so that I created this PR.

junaiddshaukat avatar Mar 26 '25 15:03 junaiddshaukat

@SGI-CAPP-AT2 I am not exposing the secrets, I just added like helping file that gives clarity to new contributors in setup. I face these issues so that I created this PR.

Oh! I didn't saw that .example and ts file Sorry just replied too quickly

SGI-CAPP-AT2 avatar Mar 26 '25 15:03 SGI-CAPP-AT2

@junaiddshaukat It's a good idea to proceed with this, but the steps for setup are clearly outlined in the README file, which should be sufficient for getting things up and running. I believe this project is in the process of migrating from Firebase to another database, so all of this is temporary.

Ni1esh-Yadav avatar May 22 '25 05:05 Ni1esh-Yadav

Closing the PR and the issues for maintainence

its-me-abhishek avatar Jun 03 '25 06:06 its-me-abhishek