DEV Community

Discussion on: How to hide API KEY in GitHub repo

Collapse
 
xavierbrinonecs profile image
Xavier Brinon

One should not reinvent the wheel 🦄🙏🏻 : npmjs.com/package/dotenv
As a rule: do not 🙅🏻‍♂️ write any secret in clear in any file used in Front End side of your application. A good read: blog.gitguardian.com/secrets-api-m...