I currently have a React app using Firebase authentication & uses Firestore as the database.
I currently have the app deployed using Amazon's Amplify service. My Firebase API keys, including the database URL and firebase app Id are all added as environment variables in the AWS console.
When I inspect the public bundle, I can see that all the API keys are public.
My questions are:
- Does this sound right?
- Is there a best practice for how to handle this situation?
- Do I need to build a back-end to handle this?