This is from youtube with small change
link: https://youtu.be/k4mjF4sPITE
npm install
change the firebase config in src/firebase
const firebaseConfig = {
apiKey: "YOUR_API_KEY",
authDomain: "YOUR_AUTH_DOMAIN",
projectId: "YOUR_PROJECT_ID",
storageBucket: "YOUR_STORAGE_BUCKET",
messagingSenderId: "YOUR_MESSAGING_SENDER_ID",
appId: "YOUR_APP_ID",
};
example
const firebaseConfig = {
apiKey: "AIz3SyD-CgR12Jd-gEZTb2ePfg3JkKmkMBHOofQ",
authDomain: "unichat-b0123.firebaseapp.com",
projectId: "unichat-b0123",
storageBucket: "unichat-b0123.appspot.com",
messagingSenderId: "511712330969",
appId: "1:211714330123:web:54400d539d41b1dc186123"
}
npm run dev