-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfirebaseConfig.ts
More file actions
21 lines (18 loc) · 791 Bytes
/
firebaseConfig.ts
File metadata and controls
21 lines (18 loc) · 791 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Import the functions you need from the SDKs you need
import { initializeApp } from "firebase/app";
import { getFirestore } from "firebase/firestore";
// 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: "<Valor disponible en el documento>",
authDomain: "<Valor disponible en el documento>",
projectId: "<Valor disponible en el documento>",
storageBucket: "<Valor disponible en el documento>",
messagingSenderId: "<Valor disponible en el documento>",
appId: "<Valor disponible en el documento>",
};
// Initialize Firebase
const app = initializeApp(firebaseConfig);
const db = getFirestore(app);
export { app, db };