Тёмный

🔴 Let's build a Facebook Clone with REACT.JS! (Next.js, Tailwind, Image Uploading, Facebook Login) 

Sonny Sangha
Подписаться 273 тыс.
Просмотров 508 тыс.
50% 1

Опубликовано:

 

23 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 441   
@SonnySangha
@SonnySangha Год назад
📬Do you want DAILY coding problems sent DIRECTLY to your Inbox? (with solutions the next day) 👉 links.papareact.com/university
@ahmadabdulkadir245
@ahmadabdulkadir245 Год назад
pls what is the name of the intrumental you used in the beginning of this video sir
@LatinoWebStudio
@LatinoWebStudio 2 года назад
This is awesome! I started learning React a few weeks ago but then found out React by itself is CSR and I need SSR since I'm building web apps for clients and their websites need to be crawled so it's awesome to see all these tutorials (from playlist) on NextJS. I'm definitely going through all of them.
@varunbhatt35
@varunbhatt35 3 года назад
Letss goo broo.. you managed to pull this off in just 3hr 40 mins even after many glitches and unwanted bugs .. 💪💪
@shwetadeshmukh7229
@shwetadeshmukh7229 3 года назад
Will watch this again. Was awake till 2:30 AM IST. This one is definitely on my list to build along with the Hulu clone. Thanks Sonny for your dedication inspite of technical difficulties.
@chinmaymehta8200
@chinmaymehta8200 3 года назад
Tip: Anyone who gets stuck with sonny at the point where the server restart doesn't pickup tailwind. Go to tailwind config and there CUT all the contents and PASTE them back -> Save. Now you should see warning for the jit compiler in the terminal. That saved me a lot of time.
@martinbradley80
@martinbradley80 3 года назад
I find that my VS Code doesn't like the directives within the global.css file. If/when I resave the file and then close it, the initializations seem to work more consistently.
@chinmaymehta8200
@chinmaymehta8200 3 года назад
@@martinbradley80 Oh nice. I think this issue is because we're using jit. That's why it might not be picking up tailwind configs.
@anuvapandya8287
@anuvapandya8287 2 года назад
This helped, thanks!
@knightrider192
@knightrider192 3 года назад
So far the Best Tutorial video i have ever seen on RU-vid please please make more video's like this where you explain everything like this and make it from scratch and please keep these video available for us forever they are absolutely great
@rkcoder
@rkcoder 3 года назад
These live coding sessions are awesome, short tutorials are nice but seeing the full process like this is also suuper valuable. Thanks for the video and hope you continue making more!
@mariacamilabaronamartinez6748
@mariacamilabaronamartinez6748 3 года назад
I do really appreciate what you made for the community, is INCREDIBLY AWESOME, it would be awesome if you can explain how to deploy this project, I've been struggling with that
@mariacamilabaronamartinez6748
@mariacamilabaronamartinez6748 3 года назад
@@gg-yr4bp Thank you!! I already search a lot and end up learning a lot of cool stuff and deploying my apps
@doladonald7728
@doladonald7728 2 года назад
Hi can give pointers on how you went on about that please?
@Phas0ruk
@Phas0ruk Год назад
Love your videos. Just bought the github repo access. Thanks Sonny. Love that you're representing the UK too!
@SonnySangha
@SonnySangha Год назад
Hell yeah dude!!
@pranaytejachethireddy9035
@pranaytejachethireddy9035 3 года назад
Thank you so much Sonny. This video made my day . Please continue making videos like this . Learnt a lot from this video .Once again Appreciated for your help .
@tuanlam999
@tuanlam999 3 года назад
Awesome. More builds with Next.js, Tailwind CSS please.
@TheBoglodite
@TheBoglodite 2 года назад
Agreed
@thunderclap2060
@thunderclap2060 2 месяца назад
this looks super fun, for sure trying this build next playthrough
@TharunKumaar
@TharunKumaar 3 года назад
Thank you bro it took me a week to sit watch and do this with you! I learnt a lot and I'm gonna do all the other apps you have done! Hope I become a pro like you one day!
@ashfaqulbari7328
@ashfaqulbari7328 3 года назад
I have to say, I enjoy watching your thought process when you encounter technical difficulties/challenges, and how you overcome them, well done! Awesome Tutorial!
@derealratos6332
@derealratos6332 Год назад
those of you stock the provider import if you're using latest nextauth This is coded with typescript(.tsx files instead of .js) here is my code import { SessionProvider } from "next-auth/react" import type { Session } from "next-auth" function MyApp({ Component,pageProps:{ session, ...pageProps } }: AppProps) { //const status=getSession() return } export default MyApp extras onClick={()=>signIn()} Facebook component import { Session } from 'next-auth' session:Session as loginprops
@rangabharath4253
@rangabharath4253 3 года назад
Awesome as always sonny. Keep rocking 😎👍
@teguhbadrusalam295
@teguhbadrusalam295 3 года назад
Sonny is a Legend!!!
@SonnySangha
@SonnySangha 3 года назад
Watch my REACT BASICS 101 class for FREE with 1 month FREE SkillShare access here (First 1000 people) skl.sh/2Srfwuf
@fzmhd3324
@fzmhd3324 3 года назад
Hei sunny sir how you're importig automatically iside vs code wich auto import extension you're using sir
@s_e_s_h981
@s_e_s_h981 3 года назад
Hi Sonny, The Fb clone was an amazing journey, i loved it. I'm facing an issue with the authentication in production stage, i click signin but it's not redirecting me to the FB home page, i have added the domain url in my fb dev account. Would be really great if you could help me. Also Looking forward to your future builds💥
@NoName-sm8uz
@NoName-sm8uz 2 года назад
Хххх
@thetutorialdoctor
@thetutorialdoctor 3 года назад
I have to do this one. Glad you are using tailwind CSS
@theetechverge7723
@theetechverge7723 3 года назад
I Love Your Energy Papa react....#papa fam
@dragonburger5676
@dragonburger5676 3 года назад
Incredible tutorial! Perfect pace and explained so well. I’ve watched tons of react videos and this is top notch
@memberbritishempire
@memberbritishempire 2 года назад
Anyone knows what's the solution for ---> "[next-auth][warn][NO_SECRET]" when clicking on the sign-in with facebook button this one above showing up on the console.. btw Sonny u are a legend gold videos!
@abhibhattarai1748
@abhibhattarai1748 2 года назад
i am getting the same issue. Were you able to figure it out?
@memberbritishempire
@memberbritishempire 2 года назад
@@abhibhattarai1748 no bro but Ill try to rebuild it again next week
@chinmayeegowda5867
@chinmayeegowda5867 4 месяца назад
​@@memberbritishempiredid you got that?
@JoglosemarFoodie
@JoglosemarFoodie 3 года назад
Thumbnail is very hilarious 🤣
@always-shaiva
@always-shaiva 3 года назад
Thank you my guru for this wonderful hardwork
@brunotravesi7385
@brunotravesi7385 Год назад
Great videos man, you are helping and teaching to a lot of people around the world, send you a hug from mexico, if one day you come to mexico city i owe you some tacos 👍
@andresgardiol8111
@andresgardiol8111 3 года назад
Nice video!! I really like that you use the functional approach with hooks. What about organize component in a more "Clean Architecture" way?
@adnan_asaad
@adnan_asaad Год назад
I love you dude ❤ , i can say easily your content for web is number one on RU-vid, keep going brother
@parshvarunwal4559
@parshvarunwal4559 3 года назад
Holy Cow! Amazing build :), but guys don't just code along, add some features from your side!
@ThugLifeModafocah
@ThugLifeModafocah 2 года назад
Man, this is awesome content. I really appreciate, you are making my life better. Thank you.
@milad8436
@milad8436 2 года назад
This is exactly what I was looking for
@spinspin3523
@spinspin3523 2 года назад
this guy is a legend
@handa1780
@handa1780 2 года назад
Subbed!, I was learning nextjs also tailwind and looking forward to project based tutorial to deepen my understanding about nextjs and found your videos, I learned a lot from this tutorial and hopefully I could use this in my own projects or something else, looking forward to your upcoming tutorial... you're the best man!!
@pokerfaced8139
@pokerfaced8139 3 года назад
hi sonny , the JIT compiler is buggy and sometimes doesn't starts up , I tried saving the "tailwind.config.js" file again and then it worked for me .
@rogeliovazquezmejia2929
@rogeliovazquezmejia2929 3 года назад
Your content is awesome! I really love everything you do! it's unfortunate to see only 3000 views when you content is unique. A hug bro.
@abderrahimslam2892
@abderrahimslam2892 3 года назад
Hi sonny! I noticed that you worked so much with firebase in the builds you made. But most companies use a custom backend, we need something like node js backend to put in our resume to help us find a job.
@AjeetKumarrr
@AjeetKumarrr Год назад
But you can apply as a frontend devloper.
@connorholm2859
@connorholm2859 3 года назад
Thanks for the vid! I followed along and everything was super beneficial! I'm stuck on deploying the application and think a video on it would be super helpful. Not necessarily for this example but just the concept of deploying a react/next.js app is super educational. Thanks again fo the vid
@ossamaelidrissi2624
@ossamaelidrissi2624 2 года назад
Hi guys , I build an app with next js and mysql but i don't know how to store links of images in the db , when i store the image directly it take more space
@bilalfakhro1363
@bilalfakhro1363 3 года назад
thank you Sonny for how you explain everything in details.... I tried to do the same as you and build this app from scratch but I bumped to a smal issue and I was wondering if there is someone else getting this error from facebook saying that Facebook has detected that your App isn't using a secure connection to transfer information. Until Your App updates its security settings, you won't be able to use Facebook to log in to it. Anyone?
@justinsospeter
@justinsospeter 3 года назад
I bumped into that right now, did you find a solution?
@le_matur
@le_matur 3 года назад
Same here!!
@ri7az
@ri7az 3 года назад
@@le_matur delete the FB apps, start fresh and make a new app don't add anything to it, now create a new test and then add the login product to the test app instead then it will work just fine.
@hangout7081
@hangout7081 3 года назад
I really love the thumbnail
@ibrahimoguzhanyilmaz3451
@ibrahimoguzhanyilmaz3451 3 года назад
what was the point of using nextjs? You did not use any of the Data Fetching methods of nextjs like getServerSideProps or getStaticProps or initialProps... Did you prefer nextjs only for the ease of authentication and routing?
@ri7az
@ri7az 3 года назад
Yes he does.
@phanthanhtao9492
@phanthanhtao9492 3 года назад
Hi sonny, i from vietnames. I really admire you, I learned a lot about REACT and UI framework CSS from your channel Thank You so much
@kawsarkhan5876
@kawsarkhan5876 3 года назад
You guy just amusing❤️❤️❤️ Love u a lot man❤️❤️
@mdsaiful6294
@mdsaiful6294 2 года назад
Nice video good video
@Mamadu-li5do
@Mamadu-li5do 2 месяца назад
keep on the good work
@sheilgandhi
@sheilgandhi 3 года назад
Hey Sonny, I had some trouble deploying this Web App. I think it's has something to do with the Facebook Developer settings. Would love some help or a quick tutorial. Thank You
@Groot-yl1lf
@Groot-yl1lf 3 года назад
Hello @Sheil Gandhi. Did you get a solution to this.
@sheilgandhi
@sheilgandhi 3 года назад
@@Groot-yl1lf No I haven't
@danielrocha5774
@danielrocha5774 3 года назад
Great, dude. You are awesome Thanks for all the knowledge you spread
@joaosouza5218
@joaosouza5218 2 года назад
Isso sim que é capricho. Adorei!
@mathefeitosa
@mathefeitosa 3 года назад
This way of teaching is awesome! I liked it! Learned a lot!
@bilegtni5202
@bilegtni5202 3 года назад
you are awesome dude impressive omg
@harsh_nandan
@harsh_nandan 3 года назад
Amazing debugging. I too got irritated when the bug was not getting identified. Great Experience being here.
@vikranthkanumuru8900
@vikranthkanumuru8900 3 года назад
Love both your content and your monetization strategy, novel and effective, you have my sincere admiration
@didkei
@didkei 2 года назад
If you want to force a light theme to the Facebook Login add this code to the pages/api/auth/[...nextauth].js file. Code's the following: theme: { colorScheme: 'light', // "auto" | "dark" | "light" }
@reactninja6567
@reactninja6567 3 года назад
Too good bro! keep goin.. just curious why you left clever programmer?
@Manjaco
@Manjaco 3 года назад
the NextAuth feature is insane !!!
@denishammad9321
@denishammad9321 3 года назад
Outstanding work Papa react
@KlorofilASN
@KlorofilASN 3 года назад
postImage 404 when using
@khafrewatkins
@khafrewatkins 2 года назад
check your firebase rules. you need to change the rules in both the firestore database and the storage to: " allow read, write: if request.auth == null; " then you can access the storage and firestore without authentication
@balamurugans5711
@balamurugans5711 3 года назад
bro the effort you put is absolutely amazing keep rocking sonny !! #papa fam
@haidinurhadinata2661
@haidinurhadinata2661 2 года назад
thank you so much for your video, it's very helpfully
@MementoNeli
@MementoNeli 3 года назад
YESSSSSSSSSSSS, another daily.dev user \o/
@aminzuar5767
@aminzuar5767 Год назад
Nice one 👍👍
@victorhsu023
@victorhsu023 3 года назад
During Facebook auth always have error about my client id, I tried a lot of method and still have error can somebody help~~
@shopsrise5137
@shopsrise5137 3 года назад
What a wonderful content. Thnku PAPA REACT.
@_jihad_hasan
@_jihad_hasan 2 года назад
You are a great man
@DiazGunturFebrian
@DiazGunturFebrian 3 года назад
You are legend. I am gonna try it by following your videos 👍
@markyt4960
@markyt4960 3 года назад
This is such a nice video and I learnt a lot in this video. But the thing where I got stuck is that how do I deploy this app ?
@hauladv
@hauladv 3 года назад
thanks so so so so so much Pro....... love you so much
@sudipjs
@sudipjs 3 года назад
Let's go sonny thanks for awesome stuff 😁
@moncere
@moncere 3 года назад
This is dope man 🔥
@AntonioSantos-ve6zv
@AntonioSantos-ve6zv 3 года назад
Awesome content, as usual!
@AJQuickShow
@AJQuickShow 3 года назад
Awesome bro clean and elegant ♥️♥️
@magiccubing2587
@magiccubing2587 3 года назад
PAPA never disappoints
@harshahirushan2544
@harshahirushan2544 3 года назад
I love you so much dude thanks for helping me this was fantastic ............ I have never stopped this is my first time one we meet in a live there i got you thanks😍😍😍😍😍😍
@SonnySangha
@SonnySangha 3 года назад
That is great dude!!! Keep on going and thank you so much for the support! 💪🏽💯
@harshahirushan2544
@harshahirushan2544 3 года назад
@@SonnySangha finally i found my coding hero .
@mr.kouhadi5753
@mr.kouhadi5753 2 года назад
I need your help guys. at 03:01:25 firebase web v9 update ruined my code :( const [realtimePosts, loading, error] = useCollection( db.collection('posts').orderBy('timestamp', 'desc') /// this causes an error );
@SonnySangha
@SonnySangha 2 года назад
This syntax will not work with Firebase v9 downgrade to v8 or rewrite with the new syntax
@Casual20232
@Casual20232 2 года назад
@@SonnySangha give us new syntax
@mrcharm767
@mrcharm767 2 года назад
when you those things happened to you and you said this is called bad day i can sense it ,it happens to me 95% of time
@imronreviady1572
@imronreviady1572 3 года назад
can you zoom your editor? it's pain for my eye. I cannot see different between { } and [ ]
@flashbacksm7067
@flashbacksm7067 3 года назад
Love Bro .
@josepena-bk8wd
@josepena-bk8wd 2 года назад
Hi! nice turorial , im in 1:14:21 and when imported Provider, I have an error Module not found .client, what can be? I install and reinstalll the package fine.
@INTQEASDSDET
@INTQEASDSDET 2 года назад
Same problem bro... How did you solve it??... I haven't found the solution from two days
@cybermaxi7
@cybermaxi7 2 года назад
@@INTQEASDSDET got same problem and noticed that they'v changed Provider to SessionProvider in the new and latest version 4. It worked buh i'm getting difficulty redirecting to my localhost, it's redirecting to the login page
@ifiokumoren6759
@ifiokumoren6759 2 года назад
Use react in place of client
@josepena-bk8wd
@josepena-bk8wd 2 года назад
@@INTQEASDSDET the documentation has changed so u cant use Provider now I think is sessionProvider, but check out the documentation
@leensaboh9955
@leensaboh9955 2 года назад
Hi How did you solve the log in problem?
@deanbarber8851
@deanbarber8851 3 года назад
Hey Sonny, I couldn't deploying this Web App. I have been stuck at solving this problem for past three days. Facebook is continuously blocking all domain names from vercel. It is saying "Can't Load URL: The domain of this URL isn't included in the app's domains.' Can you please give us a quick tutorial on how to deploy the app or point me to the right direction on how to solve it. Thank you
@WeryZebra
@WeryZebra 3 года назад
try adding your new domain to face book devloper counsler something so it will be authorized domain then you can use auth, i have used google...but i think that might be a solution
@funaustralia6517
@funaustralia6517 3 года назад
I don't why I can not use group-hover, it's not change color.
@woaken
@woaken 3 года назад
Can you make a tutorial on making Clone of the App to be able to connect with the site coded?
@woaken
@woaken 3 года назад
Oh and thank you so so so much for creating this Clone, I forgot to mention my bad!!! 🤦🏽 peace to you! ✌🏼
@y.m.o6171
@y.m.o6171 3 года назад
hey man such a big fan of your channel man ! can you please pretty please do a clone of something like figma ? just the layouts and the resizing sidebars and what have you !
@mrcrypticx1
@mrcrypticx1 2 года назад
damn, i see how much of a toll this puts on you man!
@agamjotsingh7371
@agamjotsingh7371 3 года назад
Hey Guys Please pray for my uncle and grandfather they may need a ventilator if their oxygen keep fluctuating please pray your prayer may save my uncle grandfather and grandmother. Please!!!!!! Please pray please🙏🙏🙏🙏
@SonnySangha
@SonnySangha 3 года назад
🙏🏽
@alanliang9538
@alanliang9538 3 года назад
best of luck to them, but here probably isnt the place though
@ajsliv5650
@ajsliv5650 3 года назад
HI, Sony Thanks for this amazing project: Mashallah .. from PK❤🚀🚀
@utkarshsharma5202
@utkarshsharma5202 2 года назад
1) Can I add it in my resume? 2) Will it make resume impressive? 3) Is it a good idea to make resume impressive to make clone of facebook, amazon, whatsapp, uber, netflix etc..? 4) Can someone suggest me project ideas which make resume outstanding?
@Hamza-ll3uf
@Hamza-ll3uf 3 года назад
Hi Sonny! Could you do a video talking about best practices for storing data in the real-time database?
@billwhite515
@billwhite515 2 года назад
was curious if you could update firebase to 9.6ish and modify so that the firebase stuff still works because I had to use 8.5.0 to get it to work like yours. Great Content
@yashaparik
@yashaparik 3 года назад
Just wanted to know.. why don't advanced coders go for building the next big thing.. for eg: you
@TheBoglodite
@TheBoglodite 2 года назад
What's the advantage of using Firestore as opposed to having your own backend?
@RobertDe0613
@RobertDe0613 3 года назад
Hey Sonny...I am getting a bad error when troubleshooting session.user.image in the Header.js file. Any idea on what is causing this??? TypeError: Cannot read property 'user' of undefined
@Domrenz
@Domrenz 2 года назад
did you solve this? got the same error..
@RobertDe0613
@RobertDe0613 2 года назад
@@Domrenz lol. I posted the same error for the LinkedIn tutorial. I thought I was responding to that. As you can see, there are issues with firebase and react. Does anyone have any ideas?? Sonny??
@Domrenz
@Domrenz 2 года назад
@@RobertDe0613 I actually solved it yesterday had to do with a grammar error. My '_app.js' in the pages folder had this line of code like this "" and I fixed it to "" Sessions was plural.. so check each line of your code to make sure you don't have a grammar error! Hopefully this solves it.
@RobertDe0613
@RobertDe0613 2 года назад
@@Domrenz Hey. Thank you for responding and the advice! I checked to see if I had any spelling or syntax errors and I do not. I am almost 100% sure it relates to session.user.image in the index.js file. That is where Sonny uses that as src={session.user.image} for the tag. It is looking for an image to use and it cannot pull one because I need to upload it somewhere. Any ideas on what to do for this?
@Domrenz
@Domrenz 2 года назад
@@RobertDe0613 interesting.. mine was a user issue in that same area. Hm...Did you try saving your tailwind.config.js file then rebooting your terminal.
@diszajatnika
@diszajatnika 3 года назад
Amazing trick... I like this chanel
@abelkibebe577
@abelkibebe577 3 года назад
PAPA RESPECT!!! Guys if u r encountering an error in the "src" when u r using the component, it doesn't work if u write it as PAPA even if u set the domain in next.config.js *You have to use a loader function for example: .................. This doesn't work!! change it to this *Create a loader function and call it using the dollar backtick($`) const myLoader = ({ src }) => { return `${session.user.image}`; }; i thought this would Help!!! Thanks!
@winniegitau7779
@winniegitau7779 3 года назад
you are a life saver thanks for sharing.
@abelkibebe577
@abelkibebe577 3 года назад
@@winniegitau7779 ☺️
@winniegitau7779
@winniegitau7779 3 года назад
@@abelkibebe577 how did you deploy your facebook app in vercel.i deployed mine and when am testing my app i cant login says "URL blocked: This redirect failed because the redirect URI is not white-listed in the app's client OAuth settings. Make sure that the client and web OAuth logins are on and add all your app domains as valid OAuth redirect URIs."
@kulvirsingh4568
@kulvirsingh4568 2 года назад
bro my images are getting broken when retrieve them from firebase db any suggestions??
@arjayarjay8856
@arjayarjay8856 3 года назад
Awesome !!
@jafar3177
@jafar3177 3 года назад
Hi bro. All of your videos are really excellent. If you make us video how to build SpaceX website with React. It will be insane and excellent. Bro
@ThanHtutZaw3
@ThanHtutZaw3 2 года назад
Why we need to use Next-Auth for auth system .Can we do auth without Next-Auth libaries?What is the key of using Next-Auth. I feel like writing react app without knowing javascript
@nested9301
@nested9301 3 года назад
this guy build everthing with react js ifeel like the next video will be building react js with react js xD
@erickgutierrez6471
@erickgutierrez6471 3 года назад
I really like how clean you make the code, I want to ask you something, is there a way to load faster the images from the post?
@SonnySangha
@SonnySangha 3 года назад
Hey thanks!! Yes! Look into caching technique!
@igdev6095
@igdev6095 3 года назад
Love u from Vietnam
@mamtaagarwal1009
@mamtaagarwal1009 3 года назад
In this video, you had to focus on laptop optimization more than code optimization 😂🤣.
@soledad02daniel
@soledad02daniel 3 года назад
Dope video. Did anyone launched the project? I'm curious where I can get public privacy url for Facebook and Data deletion terms.
Далее
Редакция. News: 135-я неделя
55:06
Просмотров 1,7 млн
повтори звуки животного 😱
00:52
How To Debug React Apps Like A Senior Developer
21:07
Просмотров 140 тыс.
Amazon Clone in React, Tailwind CSS & Redux [2024]
3:10:28
Редакция. News: 135-я неделя
55:06
Просмотров 1,7 млн