Implementing firebase


#1

What is the best way to implement Firebase into ionic 2? should I create a service class?


#2

I’ve been wondering this myself and found lots of options out there. I’ve done the approach you mentioned and it works well, I also discovered AngularFire2 which is still in early development but looks very promising and will likely be the standard in the long run: https://github.com/angular/angularfire2 I’m very interested to hear any other approaches


#3

I think this example might use Firebase.


#4

@richardshergold is there a rep for it? he doesn’t go into detail


#5

yes, there’s a link to the source at the bottom of the article


#6

Has anyone here had much success with implementing AngularFire2? Would be interested to hear how you got on if so. I’m currently using the standard JavaScript client but looking to maybe switch to using the AngularFire2 client instead.