Friday, February 17, 2017

Firebase - Data

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.

Firebase Data Simple In our last chapter we connected Firebase to our app. We can log firebase to console.
console.log(firebase)
Firebase Data Log 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.
Firebase Data Players Log

No comments:

Post a Comment