AnnieMcMahon / ravenous

1 stars 1 forks source link

Put API key in gitignore #1

Open WretchedAbyss opened 11 months ago

WretchedAbyss commented 11 months ago

You are sharing your API key for all to see. People with ill intent could use it.

Weltgeist commented 11 months ago

I second @WretchedAbyss ,

I also attached 2 resources on making your API_KEY less visible. Use DotEnv(Or React version of it).

https://dev.to/deammer/loading-environment-variables-in-js-apps-1p7p https://stackoverflow.com/questions/42182577/is-it-possible-to-use-dotenv-in-a-react-project