Blog Website for firebase and React Applications
Hosted on Firebase : App
Hosted on netlify : App
-
firebase setup
npm install firebase@8.10.0
import firebase as firebase import 'firebase/firestore' const firebaseConfig=..... firebase.initializeApp(firebaseConfig) export const firestore=fiebase.firestore
-
Routes and react-router-dom
npm install react-router-dom --save
code link : index.js -
Deployment Firebase :
npm run build goto build operation firebase and select hosting follow all steps select existing project public directory: build single pages: y build/index.html already exists overwrite: n firebase deploy