Build a real time chat app with Firebase and React.js | Beginner tutorial

  Рет қаралды 5,374

WebChain Dev

WebChain Dev

Жыл бұрын

In this video you will learn to create a group chat app using Firebase and its database of firestore. All of this is created using Vite and React js. Also, this project has google auth with firebase.
Source code: gist.github.com/Mif2006/a1207...

Пікірлер: 13
@YassineEnnachat
@YassineEnnachat 2 ай бұрын
I think it would be better if you explained what the imported functions do upon writing the import that way we can understand why they need to be imported. and how each section of the line does like the snapshot.docs.map what does each one do "snapshot" "docs" "map"
@fiend_1108
@fiend_1108 9 ай бұрын
is there a way where we cn have multiple chats, instead of one global chat where anyone can join with email
@WebChainDev
@WebChainDev 9 ай бұрын
Yes, that's possible. I believe the structure would be something like this: a chats collection which would hold each chat as a document. This document would have fields with the people who own the chat and a messages collection like the one in this video.
@fiend_1108
@fiend_1108 8 ай бұрын
@@WebChainDev could you possibly make a small tutorial on it, it would be really helpful
@anishgupta2915
@anishgupta2915 7 ай бұрын
@@WebChainDev sir how join other in chatroom with his mail
@anishgupta2915
@anishgupta2915 7 ай бұрын
yes sir @@fiend_1108
@MujahidulIslam
@MujahidulIslam 5 ай бұрын
firstly thanks for make this video,, i didn't understand your source code 79 and 80 number line code. Can you explain to me? because i am beginner.
@WebChainDev
@WebChainDev 5 ай бұрын
In this block of code we are mapping through all of the messages. msg.data.uid === user.uid checks if the sender of the message is the current user (by seeing if their uids are the same) , and if so, places the message of the right side of the screen, otherwise putting it on the left. The next line does the same thing but applies some styles to the background and text color. Hope this helped
@lorenzoj7925
@lorenzoj7925 8 ай бұрын
Everything was going well but at last i got this error while connecting to local host [plugin:vite:react-babel] C:\Users\loren\OneDrive\Desktop\Loren Chat\src\App.jsx: Unexpected keyword 'const'. (10:4) 13 | It cannot verify the word const
@WebChainDev
@WebChainDev 8 ай бұрын
In these cases the error is usually a typo in some other place. I suggest checking the source code to see where it is
@ranviee
@ranviee 9 ай бұрын
Source Code?
@WebChainDev
@WebChainDev 9 ай бұрын
Here it is: gist.github.com/Mif2006/a12076e9d48444df7b3f348634a3caba
@ranviee
@ranviee 9 ай бұрын
thank you 😆@@WebChainDev
Build A Chat App With React And Firebase v9
1:01:34
Code Commerce
Рет қаралды 46 М.
How Many Balloons Does It Take To Fly?
00:18
MrBeast
Рет қаралды 193 МЛН
КОМПОТ В СОЛО
00:16
⚡️КАН АНДРЕЙ⚡️
Рет қаралды 31 МЛН
Best way to learn Socket IO | complex chat app
19:52
Hitesh Choudhary
Рет қаралды 90 М.
Build a Realtime Chat App in React JS, Node JS and Socket.io
58:22
Code With Yousaf
Рет қаралды 2,8 М.
Create react projects
22:33
Hitesh Choudhary
Рет қаралды 39 М.
Build a Real Time Chat App With Node.js And Socket.io
17:12
Web Dev Simplified
Рет қаралды 549 М.
How to Design Firebase Collection and Documents for Chat App
8:39
Top 10 CSS One Liners That Will Blow Your Mind
13:34
developedbyed
Рет қаралды 931 М.
I built a chat app in 7 minutes with React & Firebase
8:53
Fireship
Рет қаралды 1,3 МЛН
low battery 🪫
0:10
dednahype
Рет қаралды 1 МЛН
Как бесплатно замутить iphone 15 pro max
0:59
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 8 МЛН
НЕ БЕРУ APPLE VISION PRO!
0:37
ТЕСЛЕР
Рет қаралды 371 М.
Опасность фирменной зарядки Apple
0:57
SuperCrastan
Рет қаралды 10 МЛН
Xiaomi SU-7 Max 2024 - Самый быстрый мобильник
32:11
Клубный сервис
Рет қаралды 524 М.
Здесь упор в процессор
18:02
Рома, Просто Рома
Рет қаралды 431 М.