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

2024 ж. 11 Мам.
204 942 Рет қаралды

🚨 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

Пікірлер
  • 📬Do you want DAILY coding problems sent DIRECTLY to your Inbox? (with solutions the next day) 👉 links.papareact.com/university

    @SonnySangha@SonnySangha Жыл бұрын
  • Yo Mailman these builds have a lot more content when you're not constantly being interrupted. Glad you have your own channel!

    @andyb9990@andyb99903 жыл бұрын
    • 💯😉

      @SonnySangha@SonnySangha3 жыл бұрын
  • This is so good! So much knowdlege shared freely. We are truly blessed in this times.

    @TheCodingOdyssey@TheCodingOdyssey3 жыл бұрын
  • Sonny your content is always awesome !! We need heroes like you

    @yogeshchaudhary621@yogeshchaudhary6213 жыл бұрын
  • 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.

    @abderrahimslam2892@abderrahimslam28923 жыл бұрын
  • Really nice, clean and awesome developement! 🔥🔥🔥 Happy that KZhead recently gave me you in the recommendations ❤️

    @draftermyself@draftermyself2 жыл бұрын
  • Yes keep using Tailwindcss and Next.JS my favorite language of choice!! you are the greatest !!

    @javakian1@javakian13 жыл бұрын
  • keep up the work sonny , Quality content gets repaid nicely ..your time is coming....patience...you are blessed

    @relaxationandpositivevibes8362@relaxationandpositivevibes83623 жыл бұрын
  • Another awesome content from Sonny! This guy is real Legend!

    @teguhbadrusalam295@teguhbadrusalam2952 жыл бұрын
  • This guy literally helped me get through React Js during this COVID-19

    @Essa3q42@Essa3q422 жыл бұрын
  • 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

    @maxmaksum4673@maxmaksum46733 жыл бұрын
  • Seriously you are amazing. The way you explain complex things.. simply wow...Explain us ML/DL algorithms. 😍

    @ibrahimzahir7061@ibrahimzahir70613 жыл бұрын
  • 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

    @MaybeBL1TZ@MaybeBL1TZ3 жыл бұрын
    • thx :)

      @turgaymukhtarzade568@turgaymukhtarzade5682 жыл бұрын
  • Qué bien! Al fin, subtitulos activados. Saludos desde Ecuador.

    @user-zw6kn2ri9j@user-zw6kn2ri9j3 жыл бұрын
  • Just found the channel, great content man. Love your relaxed guidance, keep up with it and you will grow.

    @deephousefridays1911@deephousefridays1911 Жыл бұрын
  • 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.

    @ThugLifeModafocah@ThugLifeModafocah2 жыл бұрын
  • Another crazy project knocked out of the park!

    @isiahjones_33@isiahjones_332 жыл бұрын
  • Just completed this build. It was super awesome... All credit goes to our mentor Sonny!!. Take a bow ... #PAPAFAM is blazing !!! 👌👌❤😍

    @ankitapaul1470@ankitapaul14702 жыл бұрын
  • This is dope, I love your videos there are so amazing Can you build a blog with react or next.js

    @temiloluwaogundiran2351@temiloluwaogundiran23513 жыл бұрын
  • Sonny is definitely saving lives with these builds, no joke

    @fonsusali@fonsusali3 жыл бұрын
    • really, i built it using react js

      @slowprogrammer@slowprogrammer3 жыл бұрын
  • Hi Sonny, This is so cool. You make this easy to understand. Thanks, man. Keep it going!! 🚀

    @akshar-patel@akshar-patel11 ай бұрын
  • LOVE all your videos!!! Keep it up 🔥 #PAPAfam

    @shopsrise5137@shopsrise51372 жыл бұрын
  • I love your videos & tutorials man!

    @gursimranjeetgill3614@gursimranjeetgill36142 жыл бұрын
  • Tailwind CSS is just amazing!

    @rodrigo5309@rodrigo53093 жыл бұрын
  • Perfect....thx for your passion and inspiration

    @NeverCodeAlone@NeverCodeAlone3 жыл бұрын
  • Really nice man as always!

    @CorentinClichy@CorentinClichy3 жыл бұрын
  • Always love your content... thanks for ...... :)

    @codeWimran@codeWimran3 жыл бұрын
  • You make programming fun man

    @yoman9446@yoman94463 жыл бұрын
  • Tailwind is really fun thanks a lot sunny bro.

    @naimislamantor3781@naimislamantor37813 жыл бұрын
  • Awesome build ✌❤

    @AbbasMoharami@AbbasMoharami3 жыл бұрын
  • Great content man!

    @damandeepsingh8412@damandeepsingh84123 жыл бұрын
  • 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@sanketss843 жыл бұрын
    • waiting for some react native stuff.

      @sanketss84@sanketss843 жыл бұрын
  • Nice job , i am in love with your work, can you do an imdb clone?

    @c9m853@c9m8533 жыл бұрын
  • Man, you are the best!!!

    @fabiotheodoro6168@fabiotheodoro61682 жыл бұрын
  • Amazing!! Thanks!!

    @criszamarco2186@criszamarco21863 жыл бұрын
  • Learned A lot Bro from You

    @csgoblins694@csgoblins6942 жыл бұрын
  • top notch content as always🔥🔥🔥

    @lifeisbeautifu1@lifeisbeautifu1 Жыл бұрын
  • Keep the Next.js and TailwindCSS coming!!!!

    @Deepsouthbro@Deepsouthbro3 жыл бұрын
  • Hey Sonny awesome video, I have a question. Can we deploy the app on netlify instead of vercel.

    @codewithyug1129@codewithyug11293 жыл бұрын
  • Amazing teacher ❤

    @vaibhavagrawal431@vaibhavagrawal4313 жыл бұрын
  • ypu are the best papa react

    @adilskillz2694@adilskillz26943 жыл бұрын
  • Sonny You are great !!!!

    @adityakushwaha3316@adityakushwaha33163 жыл бұрын
  • *Ohhhhhhhhhoooo* We got a legend here

    @Rentaro_dev@Rentaro_dev3 жыл бұрын
  • awesome, the best ever

    @maxmaksum4673@maxmaksum46733 жыл бұрын
  • thanks this is really great

    @petroschristodoulou7987@petroschristodoulou79873 жыл бұрын
  • Thanks so muchhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh

    @MaltonCanada@MaltonCanada2 жыл бұрын
  • you are so awesome bro!

    @androidenthusiast2806@androidenthusiast28062 жыл бұрын
  • Which software you use for adding whiteboard effects to show the components ?

    @KartavyaVg@KartavyaVg2 жыл бұрын
  • Hey, thanks for the great content as always, i was wondering, in which scenario would you prefer Tailwind over styled component ?

    @IllusionIRL@IllusionIRL3 жыл бұрын
    • 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!

      @SonnySangha@SonnySangha3 жыл бұрын
    • @@SonnySangha i see, even don't you think it can go messy in className attribute sometimes with all thoses OOCSS from tailwind on it ?

      @IllusionIRL@IllusionIRL3 жыл бұрын
    • 2 things: refactor into react components to avoid this and also bundle reused CSS into global styles using @apply in tailwind!

      @SonnySangha@SonnySangha3 жыл бұрын
  • Hi Guru! At 34:23 you are writing custom css like hover:underline cursor:pointer. why not in div tag directly. it works right?.

    @varaprasad4163@varaprasad41633 жыл бұрын
  • SOOOO NICEE

    @farnoodlotfali4912@farnoodlotfali49123 жыл бұрын
  • 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?

    @michaellevi6743@michaellevi6743 Жыл бұрын
  • has the best coding cont ever

    @vihaankedia8134@vihaankedia81343 жыл бұрын
  • Tuning in from Nigeria

    @andrewumole5083@andrewumole5083 Жыл бұрын
  • Do we need to use context to have the search input value persist from the home page to the search page?

    @kylegardner653@kylegardner6533 жыл бұрын
  • Amazing content

    @sanskaarpatni9137@sanskaarpatni91373 жыл бұрын
  • Watch my REACT BASICS 101 class for FREE with 1 month FREE SkillShare access here (First 1000 people) skl.sh/2Srfwuf

    @SonnySangha@SonnySangha2 жыл бұрын
  • 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

    @kevalshah7693@kevalshah76932 жыл бұрын
  • Can u make beginner javascript tutorials along with these big builds? That would be amazing

    @05forn@05forn3 жыл бұрын
    • First go learn javascript, react, next and then come back here. ;)

      @ramsesii6290@ramsesii62902 жыл бұрын
  • 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

    @fumomodo5841@fumomodo58413 жыл бұрын
  • Man this is something

    @MCAAlexKumar@MCAAlexKumar Жыл бұрын
  • best channel learn to react

    @Ale-zx1ln@Ale-zx1ln2 жыл бұрын
  • Sheeeesh. Multiple times in the build i started googling on the project instead of on the real google 🤣 Thats how good this build is

    @FitnessChaos@FitnessChaos2 жыл бұрын
    • Haha passed the test!

      @SonnySangha@SonnySangha2 жыл бұрын
  • hi papa react, I enjoyed your tutorial but I'm getting some errors with vercel. Any help?

    @omowunmidaud7493@omowunmidaud74932 жыл бұрын
  • Nice video!

    @anon-403@anon-4033 жыл бұрын
  • Is your course on papareact full stack web dev or just react js?

    @venuvenu2719@venuvenu27193 жыл бұрын
  • If we use react 18 with this clone, should we remove strict mode cuz it gives multiple renderings ?

    @waleedsharif618@waleedsharif618 Жыл бұрын
  • His voice is ❤️❤️

    @vivekkumar36732@vivekkumar367322 жыл бұрын
  • How to do it in windows (npx create app fixed ) your github says no public projects

    @jarno2427@jarno24273 жыл бұрын
  • 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?

    @nickmezacapa970@nickmezacapa9702 жыл бұрын
  • 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

    @giorgos-4515@giorgos-45152 жыл бұрын
  • 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?

    @skp7349@skp73493 жыл бұрын
  • Bhaiyya aap tho kamaal kardhi

    @dinesh.p8642@dinesh.p86423 жыл бұрын
  • @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.

    @CodewithParthAnand@CodewithParthAnand2 жыл бұрын
  • 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?

    @mrpixelk1735@mrpixelk1735 Жыл бұрын
  • Bro, please make next video on how to use API in React-js by using Axios.

    @abhaytiwari6411@abhaytiwari64113 жыл бұрын
  • 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!

    @salvatoremuroni2232@salvatoremuroni22323 жыл бұрын
  • How can we bold the searchInput text in the result.snippet?

    @farzadsunavala5553@farzadsunavala55533 жыл бұрын
  • Sonny you are good

    @milesrykerodazie171@milesrykerodazie1713 жыл бұрын
  • 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?

    @kylegardner653@kylegardner6533 жыл бұрын
  • You are my favorite

    @khattasallaman337@khattasallaman3373 жыл бұрын
  • thx

    @user-to2cg8ec9f@user-to2cg8ec9f3 жыл бұрын
  • 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 :)

    @Shalinity@Shalinity2 жыл бұрын
    • You saved me alot of trouble searching for a solution. I was wondering why it was showing some weird results. Thanks

      @sanchitsreekumar8562@sanchitsreekumar85622 жыл бұрын
    • Thank you so much!

      @teshell8317@teshell83172 жыл бұрын
  • 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!

    @zackdelarocha9139@zackdelarocha91392 жыл бұрын
  • Tailwind CSS is Insane

    @sahilgupta5041@sahilgupta50413 жыл бұрын
  • Is deploying free like in firebase ? Hosting free?

    @waleedsharif618@waleedsharif618 Жыл бұрын
  • Nextjs op bro ❤️❤️❤️❤️❤️🎉🎉🔥🔥🔥 rock react app best combination big app🔥🔥🔥🔥

    @akshayshewate5185@akshayshewate51853 жыл бұрын
  • 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.

    @mahmadmustaq4306@mahmadmustaq43063 жыл бұрын
  • Sonny can you please make a short video showing us how to secure API keys with .ENV files?!!!!!

    @vikramnayyar2752@vikramnayyar27523 жыл бұрын
    • 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

      @MaybeBL1TZ@MaybeBL1TZ3 жыл бұрын
    • @@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.

      @vikramnayyar2752@vikramnayyar27523 жыл бұрын
    • @@vikramnayyar2752 no need , vercel is free to use you can use it but just you can't have a custom domain name

      @MaybeBL1TZ@MaybeBL1TZ3 жыл бұрын
    • @@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@vikramnayyar27523 жыл бұрын
    • @@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'

      @vikramnayyar2752@vikramnayyar27523 жыл бұрын
  • Best moment: "Someone said Bootstrap or tailwind" , Sonny barely hesitates and says ""Tailwind all the way, those guys want sponsors, Im down"

    @imadrajwani4927@imadrajwani49272 жыл бұрын
    • Hell yeah… 💯

      @SonnySangha@SonnySangha2 жыл бұрын
  • Hi, i am form bangladeshi, can you clone tailwind web site ?

    @doyaltv2030@doyaltv20309 ай бұрын
  • Has anyone gotten any errors with deployment? 17:31:31 Error: Command "yarn run build" exited with 1

    @bobbygraczyk4377@bobbygraczyk43772 жыл бұрын
    • Ya man I got it, can you tell how did you fix it?

      @binaprajapati7709@binaprajapati77092 жыл бұрын
  • 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

    @mekafka6756@mekafka67562 жыл бұрын
  • Can you make a python tuitorial?

    @jyothyelizabethmartin4927@jyothyelizabethmartin49273 жыл бұрын
  • could you build google with a self database

    @vihaankedia8134@vihaankedia81343 жыл бұрын
  • 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!

    @Jamesomnipotent@Jamesomnipotent3 жыл бұрын
    • 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!

      @SonnySangha@SonnySangha3 жыл бұрын
  • If you're watching this now and got the following error: Error: `'` can be escaped with `'`, `‘`, `'`, `’`. react/no-unescaped-entities Apparently it comes from the "I'm feeling lucky" button, and all you need to do to fix it is swap the ' for a '

    @leonardohurovich3381@leonardohurovich3381 Жыл бұрын
  • Can you make google calender clone

    @subhamranjansahoo2725@subhamranjansahoo27253 жыл бұрын
  • which extension u used to write three time paragraph by p*3

    @Shahbaz__ali_@Shahbaz__ali_3 жыл бұрын
    • Emmet it’s built in!

      @SonnySangha@SonnySangha3 жыл бұрын
  • Sir, I'm unable to see the effects of tailwind applied in the avatar component. Please help me.

    @sahilgupta5041@sahilgupta50413 жыл бұрын
    • Same problem with me. Did u get any solution?

      @the_gamer__07@the_gamer__072 жыл бұрын
KZhead