DEV Community

Discussion on: Stop pushing your React API Key on GitHub 😪

Collapse
 
gktim profile image
gkTim

I would say if an api key is needed, it should be in the backend logic and not in the frontend. Also use a secret management platform like doppler.com or vault etc. so you have no .env file in your repo.