-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
64 additions
and
55 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import { createContext } from "react"; | ||
|
||
createContext(authContext) | ||
|
||
|
||
export function authContext() { | ||
return; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import { initializeApp } from "firebase/app"; | ||
import { getFirestore } from "firebase/firestore" | ||
import { Auth, getAuth } from "firebase/auth" | ||
|
||
|
||
const firebaseConfig = { | ||
apiKey: import.meta.env.REACT_APP_FIREBASE_KEY, | ||
authDomain: import.meta.env.REACT_APP_FIREBASE_DOMAIN, | ||
databaseURL: import.meta.env.REACT_APP_FIREBASE_DATABASE_URL, | ||
projectId: import.meta.env.REACT_APP_FIREBASE_PROJECT_ID, | ||
storageBucket: import.meta.env.REACT_APP_FIREBASE_BUCKET, | ||
messagingSenderId: import.meta.env.REACT_APP_FIREBASE_SENDER_ID, | ||
appId: import.meta.env.REACT_APP_FIREBASE_APP_ID, | ||
measurementId: import.meta.env.REACT_APP_FIREBASE_MEANSUREMENT_ID | ||
}; | ||
|
||
// Initialize Firebase | ||
const app = initializeApp(firebaseConfig); | ||
const auth: Auth = getAuth(app); | ||
const db = getFirestore(app); | ||
|
||
export { db, app, auth } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
"./src/*", | ||
], | ||
"@api/*": [ | ||
"./public/api/*", | ||
"src/utils/api/*", | ||
] | ||
}, | ||
"target": "ES2020", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters