I have seen a LOT of questions on this topic. However, all of them seems to be too complicated for my needs. (uploading, taking photos from different folders, rerendering on changes and so on).
All I want, is to display a few images that are known in advance, and that will not be changed by the user - perhaps sometime by me but that's it.
This is my config file:
import firebase from 'firebase/app';
import 'firebase/storage';
import 'firebase/firestore';
// Your web app's Firebase configuration
// For Firebase JS SDK v7.20.0 and later, measurementId is optional
var firebaseConfig = {
apiKey: "AIzaSyCrThJklCCnH6PJMVUocQ2CeMk2WpRh5Pc",
authDomain: "shez-up.firebaseapp.com",
databaseURL: "https://XXX-default-rtdb.europe-west1.firebasedatabase.app",
projectId: "shez-up",
storageBucket: "shez-up.appspot.com",
messagingSenderId: "279615555905",
appId: "1:279615555905:web:a69de3206d7ae83fb3f9c0",
measurementId: "G-0C770XW4BC"
};
// Initialize Firebase
firebase.initializeApp(firebaseConfig);
const projectStorage = firebase.storage("gs://XXX.appspot.com/");
export { projectStorage };
And I want to create a simple NON CHANGING (=constant) gallery.
I suppose it is rather simple, however I was not able to understand how to create the wanted gallery page.
I would appreciate a simple explanation, a simple reference and any code samples would be great!
