Mobile lab 5
This commit is contained in:
1 parent
8d9ed344d6
commit
b771a989f1
14 files changed
+10518
-7
No files matched your search
@@ -0,0 +1,21 @@
|
||||
import { initializeApp } from "firebase/app";
|
||||
import { getDatabase } from "firebase/database";
|
||||
import { getAuth } from "firebase/auth";
|
||||
import { getFirestore } from "firebase/firestore";
|
||||
|
||||
// Your Firebase config
|
||||
const firebaseConfig = {
|
||||
apiKey: "AIzaSyBfvjd5heEO3nS59rQSqY3Vsr36Pv2V3RU",
|
||||
authDomain: "week6-fb-db.firebaseapp.com",
|
||||
databaseURL: "https://week6-fb-db-default-rtdb.firebaseio.com",
|
||||
projectId: "week6-fb-db",
|
||||
storageBucket: "week6-fb-db.firebasestorage.app",
|
||||
messagingSenderId: "854313991657",
|
||||
appId: "1:854313991657:web:42859a9b1c0bd06f391f78",
|
||||
};
|
||||
|
||||
// Initialize Firebase
|
||||
const app = initializeApp(firebaseConfig);
|
||||
export const db = getDatabase(app);
|
||||
export const auth = getAuth(app);
|
||||
export const firestore = getFirestore(app);
|
||||
Reference in new issue
Block a user