Skip to content

Commit

Permalink
Revert "Delete src/firebase/auth.js"
Browse files Browse the repository at this point in the history
This reverts commit 2b964c8.
  • Loading branch information
thestarsahil committed Jul 27, 2024
1 parent 0b62598 commit 04b24e3
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions src/firebase/auth.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
import { getAnalytics } from "firebase/analytics";
import { initializeApp } from "firebase/app";
import { getAuth, GoogleAuthProvider } from "firebase/auth";
import { getDatabase } from "firebase/database";
import { getStorage } from "firebase/storage";

const firebaseConfig = {
apiKey: "AIzaSyCL_bwyE7_rwnAbuEJl5Vr7FD1_e_cOZxw",
authDomain: "counsellor-web-e81b7.firebaseapp.com",
databaseURL: "https://counsellor-web-e81b7-default-rtdb.asia-southeast1.firebasedatabase.app",
projectId: "counsellor-web-e81b7",
storageBucket: "counsellor-web-e81b7.appspot.com",
messagingSenderId: "1055143292636",
appId: "1:1055143292636:web:1397f7974a27bd486e0e19",
measurementId: "G-MJST0MPDZ3"

};

// Initialize Firebase
const app = initializeApp(firebaseConfig);
const analytics = getAnalytics(app);
export const database = getDatabase(app);
export const auth = getAuth();
export const storage = getStorage(app);
export const googleAuthProvider = new GoogleAuthProvider();

0 comments on commit 04b24e3

Please sign in to comment.