Bachelor's and Master's in CS from MIT. Previously, worked @ Microsoft & Zynga. Currently Co-Founder of Moesif (moesif.com), the most advanced API analytics platform.
Have 3 files. production.env, develop.env, and local.env
but keep them out of the git. in your gitignore file, add .env to ignore all environment variable.
it can be very dangerous to check production API keys into git.
Keep the .env files separate, for most developers on your team, they should only have local.env or develop.env. The production.env should be only available to very few key people.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Discussion on: How to manage Local vs Dev vs Prod settings/configs in React?
For further actions, you may consider blocking this person and/or reporting abuse