How can I convert my MySQL database to a Firebase database without rewriting the database? Is there a way of exporting to Firestore or Realtime database and I just change a few things in my PHP code?
I am still confused how I can have my app work remotely using free Firebase hosting
2
Answers
If you’re looking for a magic button that converts your MySQL database to Firestore or the Realtime Database, please note that there isn’t one. So, you’ll have to write code for the conversion yourself.
A quick primer for you:
Note: Make sure you’ve replaced database operations in your PHP app with Firebase SDK calls before deploying.