create a file in the root project directory named
firebase-config.js
using the following template:
const firebaseConfig = {
apiKey: FIREBASE_API_KEY_HERE,
authDomain: FIREBASE_AUTH_DOMAIN_HERE,
projectId: FIREBASE_PROJECT_ID_HERE,
storageBucket: FIREBASE_STORAGE_BUCKET_HERE,
messagingSenderId: FIREBASE_SENDER_ID,
appId: REACT_APP_FIREBASE_APP_ID,
measurementId: FIREBASE_MEASUREMENT_ID
};
export default firebaseConfig;
This app relies on the following Firestore schema:
- date
- image
- summary
- thumbnail
- title
- comment
- date
- displayName
- postId
- profilePhotorl
- uid