Skip to content

Commit

Permalink
Added firebase
Browse files Browse the repository at this point in the history
  • Loading branch information
jin-co committed Jan 18, 2024
1 parent a5865d3 commit 6d9ecb8
Show file tree
Hide file tree
Showing 33 changed files with 824 additions and 0 deletions.
697 changes: 697 additions & 0 deletions React/test-housing/package-lock.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions React/test-housing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"@testing-library/jest-dom": "^5.17.0",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^13.5.0",
"firebase": "^10.7.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-scripts": "5.0.1",
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions React/test-housing/src/assets/svg/badgeIcon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions React/test-housing/src/assets/svg/bathtubIcon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions React/test-housing/src/assets/svg/bedIcon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions React/test-housing/src/assets/svg/checkIcon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions React/test-housing/src/assets/svg/deleteIcon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions React/test-housing/src/assets/svg/editIcon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions React/test-housing/src/assets/svg/exploreIcon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions React/test-housing/src/assets/svg/googleIcon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions React/test-housing/src/assets/svg/homeIcon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions React/test-housing/src/assets/svg/localOfferIcon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions React/test-housing/src/assets/svg/lockIcon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions React/test-housing/src/assets/svg/personIcon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions React/test-housing/src/assets/svg/personOutlineIcon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions React/test-housing/src/assets/svg/shareIcon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions React/test-housing/src/assets/svg/uploadIcon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions React/test-housing/src/assets/svg/visibilityIcon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions React/test-housing/src/firebase.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
// Import the functions you need from the SDKs you need
import { initializeApp } from "firebase/app";
// TODO: Add SDKs for Firebase products that you want to use
import { getFirestore } from 'firebase/firestore'

// Your web app's Firebase configuration
const firebaseConfig = {
apiKey: "AIzaSyDBpIzA-rbNIHilywco-3GQvvdIEAkjQRk",
authDomain: "fire-test-74d76.firebaseapp.com",
projectId: "fire-test-74d76",
storageBucket: "fire-test-74d76.appspot.com",
messagingSenderId: "183642125272",
appId: "1:183642125272:web:1a4320c8308bd2ec4578ad"
};

// Initialize Firebase
initializeApp(firebaseConfig);
export const db = getFirestore()
7 changes: 7 additions & 0 deletions React/test-housing/src/pages/Category.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import React from 'react'

export const Category = () => {
return (
<div>Category</div>
)
}
7 changes: 7 additions & 0 deletions React/test-housing/src/pages/Contact.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import React from 'react'

export const Contact = () => {
return (
<div>Contact</div>
)
}
7 changes: 7 additions & 0 deletions React/test-housing/src/pages/CreateListing.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import React from 'react'

export const CreateListing = () => {
return (
<div>CreateListing</div>
)
}
7 changes: 7 additions & 0 deletions React/test-housing/src/pages/EditListing.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import React from 'react'

export const EditListing = () => {
return (
<div>EditListing</div>
)
}
7 changes: 7 additions & 0 deletions React/test-housing/src/pages/Explore.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import React from 'react'

export const Explore = () => {
return (
<div>Explore</div>
)
}
7 changes: 7 additions & 0 deletions React/test-housing/src/pages/ForgotPassword.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import React from 'react'

export const ForgotPassword = () => {
return (
<div>ForgotPassword</div>
)
}
7 changes: 7 additions & 0 deletions React/test-housing/src/pages/Listing.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import React from 'react'

export const Listing = () => {
return (
<div>Listing</div>
)
}
7 changes: 7 additions & 0 deletions React/test-housing/src/pages/Offers.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import React from 'react'

export const Offers = () => {
return (
<div>Offers</div>
)
}
7 changes: 7 additions & 0 deletions React/test-housing/src/pages/Profile.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import React from 'react'

export const Profile = () => {
return (
<div>Profile</div>
)
}
7 changes: 7 additions & 0 deletions React/test-housing/src/pages/SignIn.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import React from 'react'

export const SignIn = () => {
return (
<div>SignIn</div>
)
}
7 changes: 7 additions & 0 deletions React/test-housing/src/pages/SignUp.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import React from 'react'

export const SignUp = () => {
return (
<div>SignUp</div>
)
}

0 comments on commit 6d9ecb8

Please sign in to comment.