longv1-code / pastry-tracker

Pastry Tracker Project
https://pastry-tracker.vercel.app
1 stars 1 forks source link

Firebase api key is exposed #1

Open Visuwanaath opened 2 months ago

Visuwanaath commented 2 months ago

Hey, I believe your firebase api key is exposed, which means anyone that clones and runs this project will end up using your firebase as a db. I would recommend you switch to using a .env file to store the firebase api key, and then adding it to your .gitignore file so it does not get pushed with every commit.

longv1-code commented 2 months ago

Oh okay, thank you so much for the help!

longv1-code commented 2 months ago

I am not too familiar with how to connect my firebase details from my .env file to that. Is there an article or video that you can show me on how to do so?