/firebase-react

Blog Website for firebase and React Applications

Primary LanguageJavaScript

firebase-react

Blog Website for firebase and React Applications

Firebase React React Router Styled Components

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