diff options
Diffstat (limited to 'driver/src/firebase')
| -rw-r--r-- | driver/src/firebase/firebase_config.ts | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/driver/src/firebase/firebase_config.ts b/driver/src/firebase/firebase_config.ts new file mode 100644 index 0000000..43a458c --- /dev/null +++ b/driver/src/firebase/firebase_config.ts @@ -0,0 +1,19 @@ +// Import the functions you need from the SDKs you need +import { initializeApp } from "firebase/app"; +import { getAuth } from "firebase/auth"; + +// 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) |
