The farebase data is representing JSON objects. If you open your app
from Firebase dashboard, you can add data manually by clicking + sign.
We will create simple data structure. You can check the image below.
In our last chapter we connected Firebase to our app. We can log firebase to console.
We will create simple data structure. You can check the image below.
In our last chapter we connected Firebase to our app. We can log firebase to console.
console.log(firebase)We can create a reference to our players collection.
var ref = firebase.database().ref('players'); console.log(ref);We can see the following result in console.
No comments:
Post a Comment