Skip to content

A simple gallery app using Firebase hosting and Firebase snapshots

Notifications You must be signed in to change notification settings

foresthpark/google_gram

Repository files navigation

➽ What is this?

  • A simple gallery app using Firebase hosting and Firebase snapshots

➽ Why did I build this?

  • Practicing the Next JS framework

  • Better understand firebase

  • Practice Bootstrap

  • Learning how to make custom hooks


➽ Demo


➽ Languages and Tools

React Bootstrap CSS3 HTML5 Firebase JavaScript Git


➽ How do you use this? Getting started guide (Installation)

import * as firebase from 'firebase/app'
import 'firebase/storage'
import 'firebase/firestore'

// Your web app's Firebase configuration
let firebaseConfig = {
  apiKey: "YOUR_API_KEY",
  authDomain: "YOUR_AUTH_DOMAIN",
  databaseURL: "YOUR_DATABASE_URL",
  projectId: "YOUR_PROJECTID",
  storageBucket: "YOUR_STORAGE_BUCKET",
  messagingSenderId: "YOUR_MESSAGE_SENDER_ID",
  appId: "YOUR_APP_ID"
};

// Initialize Firebase
if (!firebase.apps.length) {
  firebase.initializeApp(firebaseConfig);
}

const projectStorage = firebase.storage();
const projectFireStore = firebase.firestore();
const timeStamp = firebase.firestore.FieldValue.serverTimestamp();

export { projectFireStore, projectStorage, timeStamp };
  • Install npm packages
npm i  
npm run dev 

About

A simple gallery app using Firebase hosting and Firebase snapshots

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published