Is there an IDE/App or method for making real-time changes to the Firebase DB?

I have a react-native app I've built with firebase. It's a game and updates scoring data in the app frequently. My client wants to be able to edit certain parts of the mobile app without recompiling, so I've included endpoints in firebase where it loads it's text. Minor corrections and changes can be made through the firebase interface until I can build a wysiwyg admin panel for them.

This was great, but now I need to add many additional languages to the app and am using i18n to swap translation json files internally, but some of these screens need to live in firebase and be editable. I'm going to need to make new endpoints for each language and add them to firebase.

When I go to add these new translation endpoints to the database I will export the whole thing as a JSON file and then insert the new language data and then import the data back into firebase.

The game is live now however and I don't want to risk losing any data between the time I export the db and when I add the new data and import it back.

It's WAY too much data to type in manually in the web interface.

How does one go about adding large amounts of data to the DB without losing data in the process? Should I just write a script that adds the new data or is there an app that makes doing this sort of thing easy to visualize?

Posted Mar 12, 2018, 9:38 PM UTC · edited

22
Loading comments…