Firebase - Data
The Firebase data is representing JSON objects. If you open your app from Firebase dashboard, you can add data manually by clicking on the + sign.
We will create a simple data structure. You can check the image below.
In the previous chapter, we connected Firebase to our app. Now, we can log Firebase to the console.
We can create a reference to our player’s collection.
var ref = firebase.database().ref('players'); console.log(ref);
We can see the following result in the console.