Skip to main content

Posts

Showing posts with the label firebase with reactjs

Crud operation with firebase in react js

React with Firebase 1. Install firebase using command npm i firebase it will include all the stuff need to connect with firebase firestore database. After that go to firebase website 2) Register your App Add firebase SDK in you project // Import the functions you need from the SDKs you need import { initializeApp } from "firebase/app" ; import { getAnalytics } from "firebase/analytics" ; // TODO: Add SDKs for Firebase products that you want to use // https://firebase.google.com/docs/web/setup#available-libraries // Your web app's Firebase configuration // For Firebase JS SDK v7.20.0 and later, measurementId is optional const firebaseConfig = {   apiKey : "AIzaSyCCrfZjlVpghgvbX0MTfIydQnbFtkOZvjUw" ,   authDomain : "crud-reactjs-92ddb.firebaseapp.com" ,   projectId : "crud-reactjs-952ddb" ,   storageBucket : "crud-reactjs-92ddb.appfspot.com" ,   messagingSenderId : "13233136550278" ,   appId : ...