Skip to content

Commit

Permalink
Add firebase config
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilya Amursky committed Nov 17, 2023
1 parent e453331 commit 1d384f4
Show file tree
Hide file tree
Showing 4 changed files with 845 additions and 11 deletions.
10 changes: 10 additions & 0 deletions lib/firebase/app.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import { initializeApp } from "firebase/app";

export const firebase = initializeApp({
apiKey: "AIzaSyAsdCy9Qf8udvEN9tl16V_dRRGNOEFlVac",
authDomain: "outgoing-sneaky-quill.firebaseapp.com",
projectId: "outgoing-sneaky-quill",
storageBucket: "outgoing-sneaky-quill.appspot.com",
messagingSenderId: "885172774292",
appId: "1:885172774292:web:4a29dae37709dc0de05b81",
});
4 changes: 4 additions & 0 deletions lib/firebase/auth.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import { firebase } from "@/lib/firebase/app";
import { getAuth } from "firebase/auth";

export const auth = getAuth(firebase);
Loading

0 comments on commit 1d384f4

Please sign in to comment.