Created
May 15, 2021 13:39
-
-
Save GeoffMahugu/af2fbf43e1a2336c21b487bf1cd590e4 to your computer and use it in GitHub Desktop.
This is react firebase configuration file
This file contains hidden or 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/app'; | |
import 'firebase/auth'; | |
import config from './config'; | |
const Firebase = firebase.initializeApp(config.firebase); | |
// Add or Remove authentification methods here. | |
export const Providers = { | |
google: new firebase.auth.GoogleAuthProvider(), | |
facebook: new firebase.auth.FacebookAuthProvider(), | |
}; | |
export const auth = firebase.auth(); | |
export default Firebase; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment