summaryrefslogtreecommitdiff
path: root/driver/src/firebase/firebase_config.ts
blob: ca0a3e6bc912a3d63f0ed631d2bef1367be838ec (plain)
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 { getAuth } from "firebase/auth";
import { getFirestore } from "firebase/firestore";

// Your web app's Firebase configuration
// For Firebase JS SDK v7.20.0 and later, measurementId is optional
const firebaseConfig = {
  apiKey: "AIzaSyCofH1i8LAIgU05wne6tajXtEAaRaUFWdE",
  authDomain: "carpool-3cd5c.firebaseapp.com",
  projectId: "carpool-3cd5c",
  storageBucket: "carpool-3cd5c.appspot.com",
  messagingSenderId: "824587935735",
  appId: "1:824587935735:web:2ee510b499aadd605298f2",
  measurementId: "G-9SBDWH6CLR"
};

// Initialize Firebase
const app = initializeApp(firebaseConfig);
export const auth = getAuth(app)
export const db = getFirestore(app)