-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFirebaseConfig.js
More file actions
22 lines (19 loc) · 870 Bytes
/
FirebaseConfig.js
File metadata and controls
22 lines (19 loc) · 870 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import { initializeApp } from "firebase/app";
import { getAuth, getReactNativePersistence, initializeAuth } from "firebase/auth";
import { getFirestore } from "firebase/firestore";
import { getDatabase } from "firebase/database";
// TODO: Replace the following with your app's Firebase project configuration
const firebaseConfig = {
apiKey: "AIzaSyA5y9elEHhYo3pvu6bYdV6RXA6ym9ISTTQ",
authDomain: "edyou-7641e.firebaseapp.com",
databaseURL: "https://edyou-7641e-default-rtdb.firebaseio.com",
projectId: "edyou-7641e",
storageBucket: "edyou-7641e.appspot.com",
messagingSenderId: "109283630658",
appId: "1:109283630658:web:ea207fde40f7d062c4d7db",
measurementId: "G-MZKLMZFNW9"
};
const app = initializeApp(firebaseConfig);
const auth = getAuth(app);
const database = getDatabase(app);
export {app, auth, database };