diff options
| author | omagdy7 <omar.professional8777@gmail.com> | 2023-12-20 19:40:11 +0200 |
|---|---|---|
| committer | omagdy7 <omar.professional8777@gmail.com> | 2023-12-20 19:40:11 +0200 |
| commit | b84fe9a9c4c18a3f4e957f76ead34403c4316f76 (patch) | |
| tree | 14e4b37ae137ed538eaa14af4228c41033facac8 /driver/src/firebase/firebase_config.ts | |
| parent | 953b5ce3ad7e933c6f008202346fe5bf2985bf9e (diff) | |
| download | carpool-b84fe9a9c4c18a3f4e957f76ead34403c4316f76.tar.xz carpool-b84fe9a9c4c18a3f4e957f76ead34403c4316f76.zip | |
Added a simple Login and SignUp page for the web driver app
Diffstat (limited to 'driver/src/firebase/firebase_config.ts')
| -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) |
