ok, so this website should be a modern private real estate, its a website where we will add high end properties, invitation only, so you need to create all the structure, backend as well so we can add and edit properties, create accounts
61cba86 verified Download src/firebase.js from matheusbezerra1/react-chakra-ui-magic-wand: direct link, hf CLI and curl.
- Browser
- Download file 701 Bytes
-
https://huggingface.co/spaces/matheusbezerra1/react-chakra-ui-magic-wand/resolve/main/src/firebase.js
- Command line
-
hf download hf://spaces/matheusbezerra1/react-chakra-ui-magic-wand/src/firebase.js
-
curl -L -o firebase.js https://huggingface.co/spaces/matheusbezerra1/react-chakra-ui-magic-wand/resolve/main/src/firebase.js
701 Bytes
| import { initializeApp } from 'firebase/app' | |
| import { getAuth } from 'firebase/auth' | |
| import { getFirestore } from 'firebase/firestore' | |
| import { getStorage } from 'firebase/storage' | |
| const firebaseConfig = { | |
| apiKey: import.meta.env.VITE_FIREBASE_API_KEY, | |
| authDomain: import.meta.env.VITE_FIREBASE_AUTH_DOMAIN, | |
| projectId: import.meta.env.VITE_FIREBASE_PROJECT_ID, | |
| storageBucket: import.meta.env.VITE_FIREBASE_STORAGE_BUCKET, | |
| messagingSenderId: import.meta.env.VITE_FIREBASE_MESSAGING_SENDER_ID, | |
| appId: import.meta.env.VITE_FIREBASE_APP_ID | |
| } | |
| const app = initializeApp(firebaseConfig) | |
| export const auth = getAuth(app) | |
| export const db = getFirestore(app) | |
| export const storage = getStorage(app) |