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

Поділитися
Вставка
  • Опубліковано 25 сер 2024

КОМЕНТАРІ • 441

  • @SonnySangha
    @SonnySangha  Рік тому +6

    📬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 роки тому +12

    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.

  • @shwetadeshmukh7229
    @shwetadeshmukh7229 3 роки тому +10

    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.

  • @varunbhatt35
    @varunbhatt35 3 роки тому +33

    Letss goo broo.. you managed to pull this off in just 3hr 40 mins even after many glitches and unwanted bugs .. 💪💪

  • @knightrider192
    @knightrider192 3 роки тому +1

    So far the Best Tutorial video i have ever seen on UA-cam 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 роки тому +5

    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 роки тому +31

    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 роки тому +1

      @@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 Рік тому +1

    Love your videos. Just bought the github repo access. Thanks Sonny. Love that you're representing the UK too!

  • @thunderclap2060
    @thunderclap2060 Місяць тому

    this looks super fun, for sure trying this build next playthrough

  • @SonnySangha
    @SonnySangha  3 роки тому +26

    Watch my REACT BASICS 101 class for FREE with 1 month FREE SkillShare access here (First 1000 people) skl.sh/2Srfwuf

    • @fzmhd3324
      @fzmhd3324 3 роки тому +2

      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 2 роки тому

      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 роки тому

      Хххх

  • @TharunKumaar
    @TharunKumaar 3 роки тому +1

    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!

  • @chinmaymehta8200
    @chinmaymehta8200 3 роки тому +4

    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!

  • @pranaytejachethireddy9035
    @pranaytejachethireddy9035 3 роки тому +1

    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 .

  • @thetutorialdoctor
    @thetutorialdoctor 3 роки тому +2

    I have to do this one. Glad you are using tailwind CSS

  • @tuanlam999
    @tuanlam999 3 роки тому +4

    Awesome. More builds with Next.js, Tailwind CSS please.

  • @andresgardiol8111
    @andresgardiol8111 3 роки тому +3

    Nice video!! I really like that you use the functional approach with hooks.
    What about organize component in a more "Clean Architecture" way?

  • @ashfaqulbari7328
    @ashfaqulbari7328 3 роки тому +2

    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!

  • @theetechverge7723
    @theetechverge7723 3 роки тому +5

    I Love Your Energy Papa react....#papa fam

  • @rangabharath4253
    @rangabharath4253 3 роки тому +1

    Awesome as always sonny. Keep rocking 😎👍

  • @always-shaiva
    @always-shaiva 3 роки тому +1

    Thank you my guru for this wonderful hardwork

  • @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!!

  • @dragonburger5676
    @dragonburger5676 3 роки тому +3

    Incredible tutorial! Perfect pace and explained so well. I’ve watched tons of react videos and this is top notch

  • @parshvarunwal4559
    @parshvarunwal4559 3 роки тому +3

    Holy Cow! Amazing build :), but guys don't just code along, add some features from your side!

  • @connorholm2859
    @connorholm2859 3 роки тому +1

    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

  • @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.

  • @adnan_asaad
    @adnan_asaad Рік тому

    I love you dude ❤ , i can say easily your content for web is number one on UA-cam, keep going brother

  • @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

  • @teguhbadrusalam295
    @teguhbadrusalam295 3 роки тому +1

    Sonny is a Legend!!!

  • @ThugLifeModafocah
    @ThugLifeModafocah 2 роки тому

    Man, this is awesome content. I really appreciate, you are making my life better. Thank you.

  • @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 👍

  • @reactninja6567
    @reactninja6567 3 роки тому +4

    Too good bro! keep goin.. just curious why you left clever programmer?

  • @pokerfaced8139
    @pokerfaced8139 3 роки тому +8

    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 .

  • @twenyone5034
    @twenyone5034 2 роки тому +3

    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?

    • @twenyone5034
      @twenyone5034 2 роки тому

      @@abhibhattarai1748 no bro but Ill try to rebuild it again next week

    • @chinmayeegowda5867
      @chinmayeegowda5867 4 місяці тому

      ​@@twenyone5034did you got that?

  • @milad8436
    @milad8436 2 роки тому

    This is exactly what I was looking for

  • @harsh_nandan
    @harsh_nandan 3 роки тому

    Amazing debugging. I too got irritated when the bug was not getting identified. Great Experience being here.

  • @danielrocha5774
    @danielrocha5774 3 роки тому

    Great, dude. You are awesome
    Thanks for all the knowledge you spread

  • @abderrahimslam2892
    @abderrahimslam2892 3 роки тому +4

    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.

  • @spinspin3523
    @spinspin3523 2 роки тому

    this guy is a legend

  • @mrcharm767
    @mrcharm767 2 роки тому +1

    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

  • @Manjaco
    @Manjaco 3 роки тому

    the NextAuth feature is insane !!!

  • @vikranthkanumuru8900
    @vikranthkanumuru8900 3 роки тому

    Love both your content and your monetization strategy, novel and effective, you have my sincere admiration

  • @joaosouza5218
    @joaosouza5218 2 роки тому +1

    Isso sim que é capricho. Adorei!

  • @mathefeitosa
    @mathefeitosa 3 роки тому

    This way of teaching is awesome! I liked it! Learned a lot!

  • @kawsarkhan5876
    @kawsarkhan5876 3 роки тому

    You guy just amusing❤️❤️❤️ Love u a lot man❤️❤️

  • @bilegtni5202
    @bilegtni5202 3 роки тому +1

    you are awesome dude impressive omg

  • @y.m.o6171
    @y.m.o6171 3 роки тому +1

    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 !

  • @hangout7081
    @hangout7081 3 роки тому

    I really love the thumbnail

  • @bilalfakhro1363
    @bilalfakhro1363 3 роки тому +2

    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 роки тому +1

      I bumped into that right now, did you find a solution?

    • @le_matur
      @le_matur 2 роки тому

      Same here!!

    • @ri7az
      @ri7az 2 роки тому

      @@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.

  • @ossamaelidrissi2624
    @ossamaelidrissi2624 2 роки тому +1

    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

  • @JoglosemarFoodie
    @JoglosemarFoodie 3 роки тому

    Thumbnail is very hilarious 🤣

  • @Mamadu-li5do
    @Mamadu-li5do 2 місяці тому

    keep on the good work

  • @DiazGunturFebrian
    @DiazGunturFebrian 3 роки тому

    You are legend. I am gonna try it by following your videos 👍

  • @markyt4960
    @markyt4960 3 роки тому +1

    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 ?

  • @mrcrypticx_1
    @mrcrypticx_1 2 роки тому

    damn, i see how much of a toll this puts on you man!

  • @flashbacksm7067
    @flashbacksm7067 3 роки тому +5

    Love Bro .

  • @haidinurhadinata2661
    @haidinurhadinata2661 2 роки тому

    thank you so much for your video, it's very helpfully

  • @balamurugans5711
    @balamurugans5711 3 роки тому

    bro the effort you put is absolutely amazing keep rocking sonny !! #papa fam

  • @sheilgandhi
    @sheilgandhi 3 роки тому +6

    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

  • @MementoNeli
    @MementoNeli 3 роки тому

    YESSSSSSSSSSSS, another daily.dev user \o/

  • @denishammad9321
    @denishammad9321 3 роки тому +2

    Outstanding work Papa react

  • @mdsaiful6294
    @mdsaiful6294 2 роки тому +1

    Nice video good video

  • @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 роки тому +1

      That is great dude!!! Keep on going and thank you so much for the support! 💪🏽💯

    • @harshahirushan2544
      @harshahirushan2544 3 роки тому +1

      @@SonnySangha finally i found my coding hero .

  • @derealratos6332
    @derealratos6332 Рік тому +1

    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

  • @moncere
    @moncere 3 роки тому

    This is dope man 🔥

  • @crakton
    @crakton 3 роки тому

    I feel like crying for missing this build #papafam.

  • @aminzuar5767
    @aminzuar5767 Рік тому

    Nice one 👍👍

  • @AJQuickShow
    @AJQuickShow 3 роки тому

    Awesome bro clean and elegant ♥️♥️

  • @shopsrise5137
    @shopsrise5137 3 роки тому

    What a wonderful content. Thnku PAPA REACT.

  • @_jihad_hasan
    @_jihad_hasan 2 роки тому

    You are a great man

  • @sudipjs
    @sudipjs 3 роки тому

    Let's go sonny thanks for awesome stuff 😁

  • @AntonioSantos-ve6zv
    @AntonioSantos-ve6zv 3 роки тому

    Awesome content, as usual!

  • @magiccubing2587
    @magiccubing2587 3 роки тому

    PAPA never disappoints

  • @jafar3177
    @jafar3177 3 роки тому +1

    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

  • @ajsliv5650
    @ajsliv5650 3 роки тому +1

    HI, Sony Thanks for this amazing project: Mashallah .. from PK❤🚀🚀

  • @KlorofilASN
    @KlorofilASN 3 роки тому +2

    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

  • @hauladv
    @hauladv 3 роки тому

    thanks so so so so so much Pro....... love you so much

  • @ibrahimoguzhanyilmaz3451
    @ibrahimoguzhanyilmaz3451 3 роки тому +1

    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 2 роки тому

      Yes he does.

  • @ho389
    @ho389 3 роки тому +1

    I also want to see a live performance on TypeScript!

  • @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

  • @Hamza-ll3uf
    @Hamza-ll3uf 3 роки тому +2

    Hi Sonny! Could you do a video talking about best practices for storing data in the real-time database?

  • @Billiam112
    @Billiam112 3 роки тому

    Really great content, thanks! However, can you get stats on your viewers and the screen/device they use? If so, and if multiple of us is on smaller screens like phones (like myself) watching, you can really bump the font size to the double. On phone it is really hard to see (one has to really focus hard to see). As a "UA-cam phone watcher", it's a common issue, unfortunately. But if you have the stats of your viewers, perhaps something to look into? Thanks again for great content. 😊

  • @woaken
    @woaken 3 роки тому +2

    Can you make a tutorial on making Clone of the App to be able to connect with the site coded?

    • @woaken
      @woaken 3 роки тому +1

      Oh and thank you so so so much for creating this Clone, I forgot to mention my bad!!! 🤦🏽 peace to you! ✌🏼

  • @nested9301
    @nested9301 3 роки тому

    this guy build everthing with react js ifeel like the next video will be building react js with react js xD

  • @victorhsu023
    @victorhsu023 3 роки тому +1

    During Facebook auth always have error about my client id, I tried a lot of method and still have error can somebody help~~

  • @NeverCodeAlone
    @NeverCodeAlone 3 роки тому

    You are so awesome with a lot of power. What do you think how long it takes to handle tailwind out of the box without struggeling in details?

  • @diszajatnika
    @diszajatnika 3 роки тому

    Amazing trick... I like this chanel

  • @emirhankarahan2931
    @emirhankarahan2931 3 роки тому +1

    We're waiting signal 2.0 with 1-1 messaging!!

  • @mr.kouhadi5753
    @mr.kouhadi5753 2 роки тому +1

    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

  • @erickgutierrez6471
    @erickgutierrez6471 3 роки тому +1

    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!

  • @deanbarber8851
    @deanbarber8851 3 роки тому +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

  • @mamtaagarwal1009
    @mamtaagarwal1009 3 роки тому +4

    In this video, you had to focus on laptop optimization more than code optimization 😂🤣.

  • @rtemis9016
    @rtemis9016 3 роки тому +2

    Hey Sonny !!
    What's the song in the intro?
    Btw, love this tutorial

  • @pjos2981
    @pjos2981 3 роки тому

    Pls make a mern stack course as per industry standard ,most in youtube are just simple applications

  • @arjayarjay8856
    @arjayarjay8856 2 роки тому

    Awesome !!

  • @deepakdadlani9284
    @deepakdadlani9284 3 роки тому +1

    Please please bring MERN stack project.. Big fan from INDIA i love your teachings ..please bring one huge project on MERN stack😀

  • @funaustralia6517
    @funaustralia6517 2 роки тому +1

    I don't why I can not use group-hover, it's not change color.

  • @josepena-bk8wd
    @josepena-bk8wd 2 роки тому +1

    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 роки тому +1

      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?

  • @jeevanstha57
    @jeevanstha57 2 роки тому

    please make a video on uploading multiple image and render according to user in react js with firebase

  • @TheBoglodite
    @TheBoglodite 2 роки тому

    What's the advantage of using Firestore as opposed to having your own backend?

  • @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