initial commit

This commit is contained in:
lucas
2022-05-03 02:53:19 -07:00
commit 455ab524fa
23 changed files with 7672 additions and 0 deletions

22
lib/firebase.js Normal file
View File

@@ -0,0 +1,22 @@
import firebase from 'firebase/app'
import 'firebase/auth'
import 'firebase/firestore'
import 'firebase/storage'
const firebaseConfig = {
apiKey: "AIzaSyD6lA0slEHkUipbfnI0-0spc3f9f-AoG1A",
authDomain: "nextfire-app-2a259.firebaseapp.com",
projectId: "nextfire-app-2a259",
storageBucket: "nextfire-app-2a259.appspot.com",
messagingSenderId: "142000164976",
appId: "1:142000164976:web:32d8bf06008a6eaf15a4b5",
measurementId: "G-T3703M428N"
};
if (!firebase.apps.length) {
firebase.initializeApp(firebaseConfig)
}
export const auth = firebase.auth();
export const firestore = firebase.filestore();
export const storage = firebase.storage();

0
lib/hooks.ts Normal file
View File