Published on November 30, 2016 by Chrome

Get started with the Firebase Realtime Database documentation: goo.gl/hgWLRL

Picking up from where we left off in the last episode, today on Polycasts we’ll look at how to connect our app to the Firebase realtime database. The Firebase database is extremely easy to setup and since it’s event based, you never have to poll it for changes. Best of all, we can use the new Polymerfire elements to remove extra code and make setup a total breeze!

Polycasts playlist: goo.gl/r5fsMq
Polymer Slack: bit.ly/polymerslack
Polymer G+: goo.gl/YC5Bsh

Subscribe to the Chrome Developers channel: goo.gl/OUF4e2

Leave a Reply

77 Comments on "Firebase Realtime Database — Polycasts #58"

Notify of
avatar

Laurent Pellegrino
Guest
Laurent Pellegrino
5 days 17 hours ago

Thanks for this great video. What about pagination? how to manage pagination properly?

Keane DaSilva
Guest
Keane DaSilva
6 days 19 hours ago

what atom package are using to produce those snippets like the empty polymer element. example from vid: youtu.be/9AHDSGitDP0?list=PLNYkxOF6rcIDdS7HWIC_BYRunV6MHs5xo&t=220

Matarr Jobe
Guest
Matarr Jobe
17 days 12 hours ago

#AskPolymer really nice but how can we implement user roles based login 🙁

Chukkrit Visitsaktavorn
Guest
Chukkrit Visitsaktavorn
1 month 1 day ago

can anyone give some suggestion for uploading image file using polymerfire.

reyou7
Guest
reyou7
2 months 10 days ago

What a nice combination of, using Microsoft vs code to write program on Mac to run on Google platform 🙂

pascal780
Guest
pascal780
2 months 10 days ago

Thanks for the great video Rob. I'm also trying to make an application with Polymer and Firebase but I find it difficult to do a multipath update with the Polyfire elements. Can you please provide me an example or hints on how I can achieve this? Thanks!

z0dijak
Guest
z0dijak
2 months 22 days ago

There's an issue in the line when removing from the firebase database. It should be: this.$.query.ref.child(key).remove(); (ref is missing)

z0dijak
Guest
z0dijak
2 months 26 days ago

You might come across the same issue as I did when trying to implement the firebase real time database. This should help you: github.com/firebase/polymerfire/issues/172

Alasu Paul Sabrin
Guest
Alasu Paul Sabrin
3 months 2 days ago

hmmm maybe i`m doing something wrong … but i have cloned the repo, install dependencies and run "firebase serve" … but BIG error in console … "app/duplicate-app"message:"Firebase: Firebase App named '[DEFAULT]' already exists (app/duplicate-app)."name:"[DEFAULT]"stack:"FirebaseError: Firebase: Firebase App named '[DEFAULT]' already exists (app/duplicate-app)any ideas ???

Norbert Nagy Abonyi
Guest
Norbert Nagy Abonyi
3 months 9 hours ago

Check the imports! I had the same error with "…/paper-button/paper-input.html".

Ur Mom
Guest
Ur Mom
4 months 20 days ago

Rob, does this not work out of the box when serving with the Polymer CLI? Currently getting 'Cannot read property 'push' of undefined' when doing 'this.$.query.ref.push(…)' running my Polymer App Toolbox starter app.

Tony Trinh
Guest
Tony Trinh
4 months 20 days ago

Make sure to import polymerfire.html in the same file as the declaration of <firebase-app> (even if you're not using all elements from Polymerfire in the same file). stackoverflow.com/a/41450672/6277151

1 2 3 6
wpDiscuz