Adding the first world to the Firebase database
As a culmination of this wonderful chapter in which we have learned a lot of things, we need to register a reference to the main scene in Firebase. We will do this because in Chapter 5, Preparing a New World for Travel, and Chapter 6, Adding a Registration and Login Form for Our Users, we will need to consult the database to know what worlds we have active to offer our users a place to travel.
For now, it will be enough to register a record in the database. Follow these steps:
- Go to the Firebase console: https://console.firebase.google.com.
- In the Build section, click Firestore Database and then click the Create Database button.
Figure 4.28 – Firebase Firestore page
- A window will open with a configuration-type form for our first database. The first step that is shown is for write and read permissions for third-party applications. For now, we will leave it as the default and...