Skip to content

Latest commit

 

History

History
11 lines (6 loc) · 810 Bytes

4_add_firebase_to_web_app.md

File metadata and controls

11 lines (6 loc) · 810 Bytes

Last: Clone Project

Add Firebase to your web app

We've already added our web app to Firebase. Now it's time add some Firebase to our web app. That way we can use the other Firebase features, not just hosting.

In MyFirebase.js, change the config constant so that it points to your own app. To do this, go to the app dashboard in the Firebase console. Click Add Firebase to your web app and copy the config part of if. (We won't copy the entire code, because we want to use ES-2015 import/export rather than binding variables to window.)

In MyFirebase.js we create three constants. We'll get back to those when we're gonna start using the Realtime Database feature.

Next: Authentication