-
Notifications
You must be signed in to change notification settings - Fork 0
Firebase database configuration
Teodor edited this page Mar 3, 2025
·
6 revisions



Copy the database rules from the firebase_database_rules.json into the rules section of the Firebase real-time database. The file can be found in both the release binaries as well as the application's source code.


The server is pre-configured to use MySQL database by default. To set the server to use Firebase as its database system, set the value of the field use_firebase in the configuration file to true as shown below.
...
"use_firebase": true,
...
Copy the fields authDomain, databaseURL, and apiKey from the Firebase app configuration file into their respective fields within the server configuration file.
"firebase_database_url": "https://thetatest-57a1f-default-rtdb.firebaseio.com",
"firebase_api_key": "AIzaSyC-r3ggHI84_f6MkRf5ZK9vxMkCGA26BW4",
"firebase_auth_domain": "thetatest-57a1f.firebaseapp.com",
