Using a .env is a good approach and why do you put it in the repository? You can add it to the .gitignore file. Make sure to add all the Firebase configurations too to the env.
Also, use a test JSON file to add test content, and remove it from your repository. Or else someone can know about your personal information😉
Using a
.env
is a good approach and why do you put it in the repository? You can add it to the.gitignore
file. Make sure to add all the Firebase configurations too to the env.Also, use a test JSON file to add test content, and remove it from your repository. Or else someone can know about your personal information😉