🐞 Bug Description
While exploring the repository structure, I noticed that a .env file is committed to the repository, and .gitignore does not include an entry to exclude .env.
📍 Steps to Reproduce
- Clone the repository
- Navigate to the project root directory
- Open the
.gitignore file
- Notice that
.env is not listed
- Observe that a
.env file exists and is tracked in the repository
Observations
.gitignore excludes environment-specific files like .env.local, .env.development.local, etc.
- However, the base
.env file is still tracked in the repository.
- The
.env file contains configuration values such as API URLs and Firebase settings.
✅ Expected Behavior
The .env file should be excluded from version control by adding it to .gitignore.
A .env.example file should be provided to document required environment variables without exposing actual configuration values.
Actual Behavior
.env is currently committed and publicly accessible in the repository.
📸 Screenshots
Not applicable.
🖥️ Device & Environment
- OS: Windows
- Browser: Chrome
- Branch: main
Additional Context
This improvement would help align the project with common environment variable and security best practices.
I would like to work on fixing this issue as part of Winter of Code Social (WOC Social).
🐞 Bug Description
While exploring the repository structure, I noticed that a
.envfile is committed to the repository, and.gitignoredoes not include an entry to exclude.env.📍 Steps to Reproduce
.gitignorefile.envis not listed.envfile exists and is tracked in the repositoryObservations
.gitignoreexcludes environment-specific files like.env.local,.env.development.local, etc..envfile is still tracked in the repository..envfile contains configuration values such as API URLs and Firebase settings.✅ Expected Behavior
The
.envfile should be excluded from version control by adding it to.gitignore.A
.env.examplefile should be provided to document required environment variables without exposing actual configuration values.Actual Behavior
.envis currently committed and publicly accessible in the repository.📸 Screenshots
Not applicable.
🖥️ Device & Environment
Additional Context
This improvement would help align the project with common environment variable and security best practices.
I would like to work on fixing this issue as part of Winter of Code Social (WOC Social).