🔴 Let's build Google 2.0 with Tailwind CSS & NEXT.JS! (Responsive, SSR React, Pagination)

Sdílet
Vložit
  • čas přidán 9. 05. 2024
  • 🚨 Join the world’s BEST developer community & course Zero to Full Stack Hero: www.papareact.com/course
    🫂 Join my Community, "University of Code" for FREE: www.universityofcode.com
    🔴 LOOKING FOR THE CODE? 🛠️
    links.papareact.com/github
    📩 Want coding problems (with solutions!) delivered to your inbox daily? www.papareact.com/dailycoding...
    Join me as I build Google 2.0 with TAILWIND CSS (with 2.1 JIT!) & NEXT.JS!
    Check out Hostinger (Use code SONNY for 7% OFF Annual Plans!) 👉 www.hostinger.com/sonny
    🎙️ PODCAST
    links.papareact.com/podcast
    🌍 SOCIALS:
    Instagram: links.papareact.com/instagram
    Facebook: links.papareact.com/facebook
    LinkedIn: links.papareact.com/linkedin
    Twitter: links.papareact.com/twitter
    Discord: links.papareact.com/discord
    Newsletter: links.papareact.com/newsletter
    ❤️ SUPPORT
    PAPA Merch: links.papareact.com/merch
    Donate: links.papareact.com/donate
    🕐 TIMESTAMPS:
    00:00 Introduction
    00:56 Build Showcase (1/2)
    02:55 Hostinger Sponsorship
    04:53 Build Showcase (2/2)
    06:17 Next.js Introduction
    08:33 Tabnine Sponsorship
    10:20 Initialising the Build
    12:30 Tailwind CSS Setup
    19:25 Building the Google Front Page (1/3)
    37:08 Building the Avatar Component
    43:49 Building the Google Front Page (2/3)
    1:13:36 Building the Footer Component
    1:29:50 Building the Google Front Page (3/3)
    1:30:22 Building the Search Functionality
    1:36:37 Building the Search Page
    1:39:35 Building the Header Component
    1:59:40 Building the Header Option(s) Component
    2:13:56 Building the Search Results
    2:46:07 Building the Pagination Component
    2:54:58 Final Build Demo
    3:00:15 Deploying the App using Vercel
    3:06:07 Hosting on Hostinger
    3:10:41 Outro
    DISCLAIMER: This Video is made for informational and educational purposes only. We do not own or affiliate with Google and it's subsidiaries in any form. Copyright Disclaimer under section 107 of the Copyright Act 1976, allowance is made for “fair use” of this video for education purposes.
    #nextjs #tailwind #reactjs

Komentáře • 178

  • @SonnySangha
    @SonnySangha  Před rokem

    📬Do you want DAILY coding problems sent DIRECTLY to your Inbox? (with solutions the next day) 👉 links.papareact.com/university

  • @TheCodingOdyssey
    @TheCodingOdyssey Před 3 lety +2

    This is so good! So much knowdlege shared freely. We are truly blessed in this times.

  • @yogeshchaudhary621
    @yogeshchaudhary621 Před 3 lety +4

    Sonny your content is always awesome !! We need heroes like you

  • @draftermyself
    @draftermyself Před 2 lety +2

    Really nice, clean and awesome developement! 🔥🔥🔥 Happy that CZcams recently gave me you in the recommendations ❤️

  • @abderrahimslam2892
    @abderrahimslam2892 Před 3 lety +4

    Hi sonny! thank you so much for those builds, I have discouvered the beauty and power of React js through your clones and since then I have been coding with react js. I hope that you make one build using react and typescript.

  • @relaxationandpositivevibes8362

    keep up the work sonny , Quality content gets repaid nicely ..your time is coming....patience...you are blessed

  • @teguhbadrusalam295
    @teguhbadrusalam295 Před 2 lety +1

    Another awesome content from Sonny! This guy is real Legend!

  • @javakian1
    @javakian1 Před 3 lety +3

    Yes keep using Tailwindcss and Next.JS my favorite language of choice!! you are the greatest !!

  • @deephousefridays1911
    @deephousefridays1911 Před rokem

    Just found the channel, great content man. Love your relaxed guidance, keep up with it and you will grow.

  • @Essa3q42
    @Essa3q42 Před 2 lety +1

    This guy literally helped me get through React Js during this COVID-19

  • @andyb9990
    @andyb9990 Před 3 lety +32

    Yo Mailman these builds have a lot more content when you're not constantly being interrupted. Glad you have your own channel!

  • @ibrahimzahir7061
    @ibrahimzahir7061 Před 3 lety +2

    Seriously you are amazing. The way you explain complex things.. simply wow...Explain us ML/DL algorithms. 😍

  • @maxmaksum4673
    @maxmaksum4673 Před 3 lety +3

    The most clear, simple, practical on next js and tailwind ever. Brother Sonny could you please make tutorial on payment with googlepay or samsungpay etc..thanm you so much

  • @user-zw6kn2ri9j
    @user-zw6kn2ri9j Před 3 lety +1

    Qué bien! Al fin, subtitulos activados. Saludos desde Ecuador.

  • @ankitapaul1470
    @ankitapaul1470 Před 2 lety

    Just completed this build. It was super awesome... All credit goes to our mentor Sonny!!. Take a bow ... #PAPAFAM is blazing !!! 👌👌❤😍

  • @isiahjones_33
    @isiahjones_33 Před 2 lety

    Another crazy project knocked out of the park!

  • @shopsrise5137
    @shopsrise5137 Před 2 lety

    LOVE all your videos!!! Keep it up 🔥 #PAPAfam

  • @ThugLifeModafocah
    @ThugLifeModafocah Před 2 lety

    Your tutorials are always on point. Very good material thank you. I missed one thing in this thoug: the suggestions while you typing your search word/phrase. But thank you anyway. Learning a lot from you.

  • @akshar-patel
    @akshar-patel Před 11 měsíci

    Hi Sonny, This is so cool. You make this easy to understand. Thanks, man. Keep it going!! 🚀

  • @MaybeBL1TZ
    @MaybeBL1TZ Před 3 lety +11

    if anyone wants to know how to send env variables to hide your keys :
    go to next.config.js :
    module.exports = {
    env: {
    API_KEY: 'your API KEY ',
    CONTEXT_KEY: 'your CONTEXT KEY '
    },
    }
    search.js
    :
    const API_KEY = process.env.API_KEY
    const CONTEXT_KEY = process.env.CONTEXT_KEY

  • @gursimranjeetgill3614
    @gursimranjeetgill3614 Před 2 lety

    I love your videos & tutorials man!

  • @CorentinClichy
    @CorentinClichy Před 3 lety

    Really nice man as always!

  • @temiloluwaogundiran2351
    @temiloluwaogundiran2351 Před 3 lety +1

    This is dope, I love your videos there are so amazing
    Can you build a blog with react or next.js

  • @codeWimran
    @codeWimran Před 3 lety +2

    Always love your content... thanks for ...... :)

  • @rodrigo5309
    @rodrigo5309 Před 3 lety +2

    Tailwind CSS is just amazing!

  • @AbbasMoharami
    @AbbasMoharami Před 3 lety

    Awesome build ✌❤

  • @NeverCodeAlone
    @NeverCodeAlone Před 3 lety

    Perfect....thx for your passion and inspiration

  • @damandeepsingh8412
    @damandeepsingh8412 Před 3 lety

    Great content man!

  • @sanketss84
    @sanketss84 Před 3 lety

    my first time here. pace was good and this was a good experience getting to know nextjs and tailwind css. like this format of quickly getting a know how of how things work.

    • @sanketss84
      @sanketss84 Před 3 lety

      waiting for some react native stuff.

  • @fonsusali
    @fonsusali Před 3 lety +2

    Sonny is definitely saving lives with these builds, no joke

  • @naimislamantor3781
    @naimislamantor3781 Před 3 lety

    Tailwind is really fun thanks a lot sunny bro.

  • @yoman9446
    @yoman9446 Před 3 lety +1

    You make programming fun man

  • @fabiotheodoro6168
    @fabiotheodoro6168 Před 2 lety

    Man, you are the best!!!

  • @criszamarco2186
    @criszamarco2186 Před 3 lety +1

    Amazing!! Thanks!!

  • @csgoblins694
    @csgoblins694 Před 2 lety

    Learned A lot Bro from You

  • @c9m853
    @c9m853 Před 3 lety +2

    Nice job , i am in love with your work, can you do an imdb clone?

  • @lifeisbeautifu1
    @lifeisbeautifu1 Před rokem

    top notch content as always🔥🔥🔥

  • @Deepsouthbro
    @Deepsouthbro Před 2 lety +1

    Keep the Next.js and TailwindCSS coming!!!!

  • @vaibhavagrawal431
    @vaibhavagrawal431 Před 3 lety

    Amazing teacher ❤

  • @adityakushwaha3316
    @adityakushwaha3316 Před 3 lety

    Sonny You are great !!!!

  • @petroschristodoulou7987

    thanks this is really great

  • @codewithyug1129
    @codewithyug1129 Před 3 lety

    Hey Sonny awesome video, I have a question. Can we deploy the app on netlify instead of vercel.

  • @adilskillz2694
    @adilskillz2694 Před 3 lety

    ypu are the best papa react

  • @maxmaksum4673
    @maxmaksum4673 Před 3 lety

    awesome, the best ever

  • @androidenthusiast2806
    @androidenthusiast2806 Před 2 lety

    you are so awesome bro!

  • @sanskaarpatni9137
    @sanskaarpatni9137 Před 3 lety

    Amazing content

  • @varaprasad4163
    @varaprasad4163 Před 3 lety

    Hi Guru! At 34:23 you are writing custom css like hover:underline cursor:pointer. why not in div tag directly. it works right?.

  • @Rentaro_dev
    @Rentaro_dev Před 3 lety +1

    *Ohhhhhhhhhoooo*
    We got a legend here

  • @MaltonCanada
    @MaltonCanada Před 2 lety +1

    Thanks so muchhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh

  • @farnoodlotfali4912
    @farnoodlotfali4912 Před 3 lety

    SOOOO NICEE

  • @FitnessChaos
    @FitnessChaos Před 2 lety

    Sheeeesh. Multiple times in the build i started googling on the project instead of on the real google 🤣 Thats how good this build is

  • @andrewumole5083
    @andrewumole5083 Před rokem

    Tuning in from Nigeria

  • @michaellevi6743
    @michaellevi6743 Před rokem

    Great video...Question for you: So using the ${selected && ..} => (using this highlights 'All' but even when you chose another of the option the 'All' still shows a highlighted line as well under it vs.. the ${selected & } => only shows the highlighted line under the selected option... Was this an oversight?

  • @KartavyaVg
    @KartavyaVg Před 2 lety +1

    Which software you use for adding whiteboard effects to show the components ?

  • @kylegardner653
    @kylegardner653 Před 3 lety

    Do we need to use context to have the search input value persist from the home page to the search page?

  • @vihaankedia8134
    @vihaankedia8134 Před 3 lety

    has the best coding cont ever

  • @kevalshah7693
    @kevalshah7693 Před 2 lety

    One day will come when there will be no app remaining that he can clone. As he have been already cloned every app in world.
    As he had build google gmail signal netflix amazon and lot more
    This is the best channel to learn JS and it libraries like react next etc.
    Thank you brother for your support and guidance

  • @IllusionIRL
    @IllusionIRL Před 3 lety +2

    Hey, thanks for the great content as always, i was wondering, in which scenario would you prefer Tailwind over styled component ?

    • @SonnySangha
      @SonnySangha  Před 3 lety +1

      Thanks! In my opinion, tailwind is my go to choice now always due to the design system that is put in place when using it, in addition it’s leaps better in regards to responsive design aswell!

    • @IllusionIRL
      @IllusionIRL Před 3 lety

      @@SonnySangha i see, even don't you think it can go messy in className attribute sometimes with all thoses OOCSS from tailwind on it ?

    • @SonnySangha
      @SonnySangha  Před 3 lety +2

      2 things: refactor into react components to avoid this and also bundle reused CSS into global styles using @apply in tailwind!

  • @fumomodo5841
    @fumomodo5841 Před 3 lety +1

    Hey sunny you are doing awsome work buddy and I watching you for a while can you please build a Uber clone or Remitly clone
    Thanks

  • @anon-403
    @anon-403 Před 3 lety

    Nice video!

  • @MCAAlexKumar
    @MCAAlexKumar Před rokem

    Man this is something

  • @venuvenu2719
    @venuvenu2719 Před 3 lety

    Is your course on papareact full stack web dev or just react js?

  • @Ale-zx1ln
    @Ale-zx1ln Před 2 lety

    best channel learn to react

  • @05forn
    @05forn Před 3 lety +3

    Can u make beginner javascript tutorials along with these big builds? That would be amazing

    • @ramsesii6290
      @ramsesii6290 Před 2 lety +1

      First go learn javascript, react, next and then come back here. ;)

  • @vivekkumar36732
    @vivekkumar36732 Před 2 lety

    His voice is ❤️❤️

  • @waleedsharif618
    @waleedsharif618 Před rokem

    If we use react 18 with this clone, should we remove strict mode cuz it gives multiple renderings ?

  • @omowunmidaud7493
    @omowunmidaud7493 Před 2 lety

    hi papa react, I enjoyed your tutorial but I'm getting some errors with vercel. Any help?

  • @nickmezacapa970
    @nickmezacapa970 Před 2 lety

    Good lookin bro thank you👌🏻 I know I’m late to the party but any way you can offer some insight as to why I’m getting less than 10 results per search? If I search something like “Hello” or “Hello World” I get millions of results back but anything else I search for results in some pretty lacking data. Tried rewatching and I’m still lost. Any idea where my error could be?

  • @abhaytiwari6411
    @abhaytiwari6411 Před 3 lety

    Bro, please make next video on how to use API in React-js by using Axios.

  • @jarno2427
    @jarno2427 Před 3 lety

    How to do it in windows (npx create app fixed ) your github says no public projects

  • @farzadsunavala5553
    @farzadsunavala5553 Před 3 lety

    How can we bold the searchInput text in the result.snippet?

  • @giorgos-4515
    @giorgos-4515 Před 2 lety

    can anybody explain how did the pagination work? my best guess is clicking the previous and next button causes a rerender and then the fetched results are different

  • @milesrykerodazie171
    @milesrykerodazie171 Před 3 lety

    Sonny you are good

  • @dinesh.p8642
    @dinesh.p8642 Před 3 lety

    Bhaiyya aap tho kamaal kardhi

  • @salvatoremuroni2232
    @salvatoremuroni2232 Před 3 lety +1

    Hi Sonny, great tutorial, Tailwind is just amazing stuff. I'm having some problems deploying:
    Failed to compile.
    10:22:37 ModuleNotFoundError: Module not found: Error: Can't resolve 'next/Image' in '/vercel/workpath0/components'
    10:22:37 > Build error occurred
    10:22:37 Error: > Build failed because of webpack errors
    10:22:37 at /vercel/workpath0/node_modules/next/dist/build/index.js:17:924
    10:22:37 at runMicrotasks ()
    10:22:37 at processTicksAndRejections (internal/process/task_queues.js:93:5)
    10:22:37 at async Span.traceAsyncFn (/vercel/workpath0/node_modules/next/dist/telemetry/trace/trace.js:5:584)
    Do you know what this could be related to?
    Thank you!
    Can't wait for the next tutorial!

  • @CodewithParthAnand
    @CodewithParthAnand Před 2 lety +1

    @Sonny Sangha I am facing an issue when I type 'yarn' it is not working I am doing it in the vs-code terminal please help them.

  • @user-to2cg8ec9f
    @user-to2cg8ec9f Před 3 lety

    thx

  • @zackdelarocha9139
    @zackdelarocha9139 Před 2 lety

    Onde fica o balcão? quero fazer uma reclamação , porque o youtube não entregou esse vídeo a mais gente? que top cara!

  • @khattasallaman337
    @khattasallaman337 Před 3 lety

    You are my favorite

  • @kylegardner653
    @kylegardner653 Před 3 lety

    For some reason h-5 does not work for me but h-8 does. Any reason why certain height utilities do not work as they do in your tutorial?

  • @skp7349
    @skp7349 Před 3 lety

    Could you give me some advice?
    SOME of tailwind class doesn't work in my project. I just follow your code. For example, h-3 doesn't work but h-4 works. justify-center work but justify-evenly doesn't work. How can I solve it?

  • @akshayshewate5185
    @akshayshewate5185 Před 3 lety

    Nextjs op bro ❤️❤️❤️❤️❤️🎉🎉🔥🔥🔥 rock react app best combination big app🔥🔥🔥🔥

  • @waleedsharif618
    @waleedsharif618 Před rokem

    Is deploying free like in firebase ? Hosting free?

  • @mrpixelk1735
    @mrpixelk1735 Před rokem

    Hey sonny, i am getting an error 403 with api key. i checked in the network tab and it says incorrect api key. i spent a day trying to resolve the issue but i could not?

  • @sahilgupta5041
    @sahilgupta5041 Před 3 lety

    Tailwind CSS is Insane

  • @mahmadmustaq4306
    @mahmadmustaq4306 Před 3 lety

    hey anyone can help me i am not able to copy the object which i am getting from the server at the time of search build result,"object copy" option is not there only.

  • @mekafka6756
    @mekafka6756 Před 2 lety

    I dont know why but i keep getting the message in the console saying that " THE API_KEY IS NOT VALID" when i try to fetch the search results

  • @Shahbaz__ali_
    @Shahbaz__ali_ Před 3 lety

    which extension u used to write three time paragraph by p*3

  • @Shalinity
    @Shalinity Před 2 lety +3

    I have made it through this vid, everything is working fine but I am not getting results Like Sonny's clone, like it gives me max 12-14 search results. Can anybody please explain that? Also a huge thanks to Sonny for dropping this video for absolutely free!😇
    Edit: you just need to turn on the full web search in cse settings while getting your context API :)

    • @sanchitsreekumar8562
      @sanchitsreekumar8562 Před 2 lety +1

      You saved me alot of trouble searching for a solution. I was wondering why it was showing some weird results. Thanks

    • @teshell8317
      @teshell8317 Před 2 lety +1

      Thank you so much!

  • @doyaltv2030
    @doyaltv2030 Před 9 měsíci

    Hi, i am form bangladeshi, can you clone tailwind web site ?

  • @ronananderson
    @ronananderson Před 3 lety

    How do I make my client access to firebase last longer. It always runs out after a few weeks? Thanks.

    • @shreyan1999
      @shreyan1999 Před 3 lety

      You need to change the security rules if it concerns accessing firestore

  • @Jamesomnipotent
    @Jamesomnipotent Před 3 lety +1

    Hi @Sonny Sangha and everyone, I have a problem to share. I have just graduated a month ago and I am struggling to find my first job during this covid period. I am actively applying for Data Analyst role but often got rejected. Would it be a bad thing if I take up another job that is not relavent to data anaylst at all , and the contract is 1 year. Will this be a waste of time for my career path? Any suggestions will be much appreciated. Thanks!

    • @SonnySangha
      @SonnySangha  Před 3 lety

      Personally I think you shouldn’t take a different job, you’ll regret this long term. If you can’t get a job, invest in the means to develop the skills SO you can get a job. Join us at www.papareact.com I’ll help you get a job dude!

  • @imadrajwani4927
    @imadrajwani4927 Před 2 lety +1

    Best moment: "Someone said Bootstrap or tailwind" , Sonny barely hesitates and says ""Tailwind all the way, those guys want sponsors, Im down"

  • @vikramnayyar2752
    @vikramnayyar2752 Před 3 lety +2

    Sonny can you please make a short video showing us how to secure API keys with .ENV files?!!!!!

    • @MaybeBL1TZ
      @MaybeBL1TZ Před 3 lety +2

      Easy dude , go to next.config.js add this :
      module.exports = {
      env: {
      API_KEY: 'your API KEY ',
      CONTEXT_KEY: 'your CONTEXT KEY '
      },
      }
      and when you wanna use it go to your search.js
      const API_KEY = process.env.API_KEY
      const CONTEXT_KEY = process.env.CONTEXT_KEY

    • @vikramnayyar2752
      @vikramnayyar2752 Před 3 lety

      @@MaybeBL1TZ TYSM!
      Also do you know a FREE way to deploy Next JS Apps?😂
      I tried using FireBase build couldn’t get it to work.

    • @MaybeBL1TZ
      @MaybeBL1TZ Před 3 lety

      @@vikramnayyar2752 no need , vercel is free to use you can use it but just you can't have a custom domain name

    • @vikramnayyar2752
      @vikramnayyar2752 Před 3 lety

      @@MaybeBL1TZ Tysm! I thought it was just a paid brand deal thing so would always click off before the deployment stage.
      I really appreciate the response!

    • @vikramnayyar2752
      @vikramnayyar2752 Před 3 lety

      @@MaybeBL1TZ I keep getting this error when trying to deploy: ModuleNotFoundError: Module not found: Error: Can't resolve 'next/Router' in '/vercel/path0/google-clone/pages'

  • @jyothyelizabethmartin4927

    Can you make a python tuitorial?

  • @bobbygraczyk4377
    @bobbygraczyk4377 Před 2 lety +1

    Has anyone gotten any errors with deployment? 17:31:31 Error: Command "yarn run build" exited with 1

  • @sahilgupta5041
    @sahilgupta5041 Před 3 lety

    Sir, I'm unable to see the effects of tailwind applied in the avatar component. Please help me.

    • @the_gamer__07
      @the_gamer__07 Před 2 lety

      Same problem with me. Did u get any solution?

  • @vihaankedia8134
    @vihaankedia8134 Před 3 lety

    could you build google with a self database

  • @tinothecoder12
    @tinothecoder12 Před 2 lety

    build a yt-clone with next.js and redux-tookit

  • @SonnySangha
    @SonnySangha  Před 2 lety +8

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