forked from serenaabbott11/choirly-fe
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfirebase.js
More file actions
26 lines (22 loc) · 763 Bytes
/
Copy pathfirebase.js
File metadata and controls
26 lines (22 loc) · 763 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// Import the functions you need from the SDKs you need
import * as firebase from 'firebase';
// TODO: Add SDKs for Firebase products that you want to use
// https://firebase.google.com/docs/web/setup#available-libraries
// Your web app's Firebase configuration
const firebaseConfig = {
apiKey: "AIzaSyC1ICPL3fJ8ac8T4PhG4zy1cKIVlVyjAmY",
authDomain: "fir-auth-33601.firebaseapp.com",
projectId: "fir-auth-33601",
storageBucket: "fir-auth-33601.appspot.com",
messagingSenderId: "1000548323346",
appId: "1:1000548323346:web:c9d903922f8a3ac2ae08cb"
};
// Initialize Firebase
let app;
if (firebase.apps.length === 0) {
app = firebase.initializeApp(firebaseConfig);
} else {
app = firebase.app()
}
const auth = firebase.auth()
export { auth };