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

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

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 Ай бұрын
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 8 ай бұрын
is there a way where we cn have multiple chats, instead of one global chat where anyone can join with email
@WebChainDev
@WebChainDev 8 ай бұрын
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 6 ай бұрын
@@WebChainDev sir how join other in chatroom with his mail
@anishgupta2915
@anishgupta2915 6 ай бұрын
yes sir @@fiend_1108
@MujahidulIslam
@MujahidulIslam 4 ай бұрын
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 4 ай бұрын
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
@ranviee
@ranviee 8 ай бұрын
Source Code?
@WebChainDev
@WebChainDev 8 ай бұрын
Here it is: gist.github.com/Mif2006/a12076e9d48444df7b3f348634a3caba
@ranviee
@ranviee 8 ай бұрын
thank you 😆@@WebChainDev
@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
Using Cloud Firestore For Your REACT Backend 2023 | CRUD App
51:15
Travis Media
Рет қаралды 19 М.
50 YouTubers Fight For $1,000,000
41:27
MrBeast
Рет қаралды 104 МЛН
Nutella bro sis family Challenge 😋
00:31
Mr. Clabik
Рет қаралды 13 МЛН
버블티로 체감되는 요즘 물가
00:16
진영민yeongmin
Рет қаралды 126 МЛН
Build a Realtime Chat App in React JS, Node JS and Socket.io
58:22
Code With Yousaf
Рет қаралды 2,3 М.
Realtime Features for React: Easier Than You Think
14:58
Josh tried coding
Рет қаралды 46 М.
React & Firebase Chat App Tutorial
34:23
Techthology
Рет қаралды 67 М.
Aider and Claude 3.5: Develop a Full-stack App Without Writing ANY Code!
16:58
Coding the Future With AI
Рет қаралды 18 М.
Realtime Web based Chat in Firebase - Javascript
11:55
Adnan Afzal
Рет қаралды 211 М.
Every React Concept Explained in 12 Minutes
11:53
Code Bootcamp
Рет қаралды 466 М.
Build a NextJS 13 App with Firebase & Tailwind CSS
37:34
Code Commerce
Рет қаралды 37 М.
Vite Crash Course | Faster Alternative To CRA
16:24
Traversy Media
Рет қаралды 191 М.
Build a Real Time Chat App With Node.js And Socket.io
17:12
Web Dev Simplified
Рет қаралды 547 М.
Build an expense tracker web app with Firebase and React
56:01
Здесь упор в процессор
18:02
Рома, Просто Рома
Рет қаралды 329 М.
Samsung Galaxy 🔥 #shorts  #trending #youtubeshorts  #shortvideo ujjawal4u
0:10
Ujjawal4u. 120k Views . 4 hours ago
Рет қаралды 6 МЛН
Отдых для геймера? 😮‍💨 Hiper Engine B50
1:00