From b84fe9a9c4c18a3f4e957f76ead34403c4316f76 Mon Sep 17 00:00:00 2001 From: omagdy7 Date: Wed, 20 Dec 2023 19:40:11 +0200 Subject: Added a simple Login and SignUp page for the web driver app --- driver/src/firebase/firebase_config.ts | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 driver/src/firebase/firebase_config.ts (limited to 'driver/src/firebase/firebase_config.ts') 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) -- cgit v1.2.3