Created
January 16, 2018 03:19
-
-
Save kareemdjames/360f1db0d3982927319920731a00176a to your computer and use it in GitHub Desktop.
React Firebase Setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Import firebase from 'firebase' | |
const config = { | |
apiKey: "", | |
authDomain: "", | |
databaseURL: "", | |
projectId: "", | |
storageBucket: "", | |
messagingSenderId: "" | |
}; | |
firebase.initializeApp(config); | |
export default firebase; | |
export const database = firebase.database(); | |
export const auth = firebase.auth(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment