DEV Community


Discussion on: Build a realtime JavaScript chat app using Firebase

mahmoudibnsamy profile image
Mahmoud Ibn Samy

Greet but is it safe to put the config data in the front-end app?

williamhenderson profile image
William Henderson

It's required for the frontend to be able to communicate with Firebase, however you need to make sure you set sufficient rules in the Firebase console so you only allow users access to what they need access to.