# Ionic Demo with Firebase Auth and Database Usage

**URL:** <https://forum.ionicframework.com/t/ionic-demo-with-firebase-auth-and-database-usage/84859>\
**Category:** demo\
**Created:** [March 31, 2017, 6:40am UTC](https://forum.ionicframework.com/t/ionic-demo-with-firebase-auth-and-database-usage/84859 "2017-03-31T06:40:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mg52](https://avatars.discourse-cdn.com/v4/letter/m/c0e974/32.png) [@mg52](https://forum.ionicframework.com/u/mg52)\
**Post date:** [March 31, 2017, 6:40am UTC](https://forum.ionicframework.com/t/ionic-demo-with-firebase-auth-and-database-usage/84859/1 "2017-03-31T06:40:18Z")

</div>

Hi All,

I have made a new demo using Firebase. It uses Firebase Auth and DB Usage. I used Ionic Conferance App for template.

I have searched many tutorials, demos for Ionic 2 with Firebase connection on internet, but I could not find “simple” working example. So I studied on it than made my own demo project. I hope this will help who wants to use Ionic 2 with Firebase.

Here is the repository: [https://github.com/mg52/Ionic-v2-Firebase](https://github.com/mg52/Ionic-v2-Firebase)

Thanks!

---

<div class="post-metadata">

**Author:** ![micaz](https://avatars.discourse-cdn.com/v4/letter/m/bc79bd/32.png) [@micaz](https://forum.ionicframework.com/u/micaz)\
**Post date:** [July 4, 2017, 5:23am UTC](https://forum.ionicframework.com/t/ionic-demo-with-firebase-auth-and-database-usage/84859/2 "2017-07-04T05:23:47Z")

</div>

Grate Work!!  
Thank You

---

<div class="post-metadata">

**Author:** ![darbez\_b4u](https://avatars.discourse-cdn.com/v4/letter/d/ea666f/32.png) [@darbez\_b4u](https://forum.ionicframework.com/u/darbez_b4u)\
**Post date:** [July 4, 2017, 5:40am UTC](https://forum.ionicframework.com/t/ionic-demo-with-firebase-auth-and-database-usage/84859/3 "2017-07-04T05:40:28Z")

</div>

[http://localhost:8100/](http://localhost:8100/)  
RUNNING OK

but when i trying to login in or sign up …it saying

“YOUR API KEY IS INVALID, PLEASE CHECK YOU HAVE COPIED IT CORRECTLY”

---

<div class="post-metadata">

**Author:** ![niconovaes](https://avatars.discourse-cdn.com/v4/letter/n/e5b9ba/32.png) [@niconovaes](https://forum.ionicframework.com/u/niconovaes)\
**Post date:** [November 17, 2017, 7:38pm UTC](https://forum.ionicframework.com/t/ionic-demo-with-firebase-auth-and-database-usage/84859/4 "2017-11-17T19:38:22Z")

</div>

Hey, @darbez_b4u try to change the const **myFirebaseConfig** to **firebaseConfig** as well as **myFirebaseAuthConfig** to **firebaseAuthConfig** - worked for me 🙂
