🔴 Let's build Google 2.0 with Tailwind CSS & NEXT.JS! (Responsive, SSR React, Pagination)
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
📬Do you want DAILY coding problems sent DIRECTLY to your Inbox? (with solutions the next day) 👉 links.papareact.com/university
This is so good! So much knowdlege shared freely. We are truly blessed in this times.
Sonny your content is always awesome !! We need heroes like you
Really nice, clean and awesome developement! 🔥🔥🔥 Happy that CZcams recently gave me you in the recommendations ❤️
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.
keep up the work sonny , Quality content gets repaid nicely ..your time is coming....patience...you are blessed
Another awesome content from Sonny! This guy is real Legend!
Yes keep using Tailwindcss and Next.JS my favorite language of choice!! you are the greatest !!
Just found the channel, great content man. Love your relaxed guidance, keep up with it and you will grow.
This guy literally helped me get through React Js during this COVID-19
Yo Mailman these builds have a lot more content when you're not constantly being interrupted. Glad you have your own channel!
💯😉
Seriously you are amazing. The way you explain complex things.. simply wow...Explain us ML/DL algorithms. 😍
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
Qué bien! Al fin, subtitulos activados. Saludos desde Ecuador.
Just completed this build. It was super awesome... All credit goes to our mentor Sonny!!. Take a bow ... #PAPAFAM is blazing !!! 👌👌❤😍
Another crazy project knocked out of the park!
LOVE all your videos!!! Keep it up 🔥 #PAPAfam
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.
Hi Sonny, This is so cool. You make this easy to understand. Thanks, man. Keep it going!! 🚀
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
thx :)
I love your videos & tutorials man!
Really nice man as always!
This is dope, I love your videos there are so amazing
Can you build a blog with react or next.js
Always love your content... thanks for ...... :)
Tailwind CSS is just amazing!
Awesome build ✌❤
Perfect....thx for your passion and inspiration
Great content man!
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.
waiting for some react native stuff.
Sonny is definitely saving lives with these builds, no joke
really, i built it using react js
Tailwind is really fun thanks a lot sunny bro.
You make programming fun man
Man, you are the best!!!
Amazing!! Thanks!!
Learned A lot Bro from You
Nice job , i am in love with your work, can you do an imdb clone?
top notch content as always🔥🔥🔥
Keep the Next.js and TailwindCSS coming!!!!
Amazing teacher ❤
Sonny You are great !!!!
thanks this is really great
Hey Sonny awesome video, I have a question. Can we deploy the app on netlify instead of vercel.
ypu are the best papa react
awesome, the best ever
you are so awesome bro!
Amazing content
Hi Guru! At 34:23 you are writing custom css like hover:underline cursor:pointer. why not in div tag directly. it works right?.
*Ohhhhhhhhhoooo*
We got a legend here
Thanks so muchhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh
SOOOO NICEE
Sheeeesh. Multiple times in the build i started googling on the project instead of on the real google 🤣 Thats how good this build is
Haha passed the test!
Tuning in from Nigeria
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?
Which software you use for adding whiteboard effects to show the components ?
Do we need to use context to have the search input value persist from the home page to the search page?
has the best coding cont ever
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
Hey, thanks for the great content as always, i was wondering, in which scenario would you prefer Tailwind over styled component ?
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 i see, even don't you think it can go messy in className attribute sometimes with all thoses OOCSS from tailwind on it ?
2 things: refactor into react components to avoid this and also bundle reused CSS into global styles using @apply in tailwind!
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
Nice video!
Man this is something
Is your course on papareact full stack web dev or just react js?
best channel learn to react
Can u make beginner javascript tutorials along with these big builds? That would be amazing
First go learn javascript, react, next and then come back here. ;)
His voice is ❤️❤️
If we use react 18 with this clone, should we remove strict mode cuz it gives multiple renderings ?
hi papa react, I enjoyed your tutorial but I'm getting some errors with vercel. Any help?
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?
Bro, please make next video on how to use API in React-js by using Axios.
How to do it in windows (npx create app fixed ) your github says no public projects
How can we bold the searchInput text in the result.snippet?
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
Sonny you are good
Bhaiyya aap tho kamaal kardhi
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!
@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.
thx
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!
You are my favorite
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?
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?
Nextjs op bro ❤️❤️❤️❤️❤️🎉🎉🔥🔥🔥 rock react app best combination big app🔥🔥🔥🔥
Is deploying free like in firebase ? Hosting free?
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?
Tailwind CSS is Insane
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.
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
which extension u used to write three time paragraph by p*3
Emmet it’s built in!
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 :)
You saved me alot of trouble searching for a solution. I was wondering why it was showing some weird results. Thanks
Thank you so much!
Hi, i am form bangladeshi, can you clone tailwind web site ?
How do I make my client access to firebase last longer. It always runs out after a few weeks? Thanks.
You need to change the security rules if it concerns accessing firestore
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!
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!
Best moment: "Someone said Bootstrap or tailwind" , Sonny barely hesitates and says ""Tailwind all the way, those guys want sponsors, Im down"
Hell yeah… 💯
Sonny can you please make a short video showing us how to secure API keys with .ENV files?!!!!!
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 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 no need , vercel is free to use you can use it but just you can't have a custom domain name
@@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!
@@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'
Can you make a python tuitorial?
Has anyone gotten any errors with deployment? 17:31:31 Error: Command "yarn run build" exited with 1
Ya man I got it, can you tell how did you fix it?
Sir, I'm unable to see the effects of tailwind applied in the avatar component. Please help me.
Same problem with me. Did u get any solution?
could you build google with a self database
build a yt-clone with next.js and redux-tookit
Watch my REACT BASICS 101 class for FREE with 1 month FREE SkillShare access here (First 1000 people) skl.sh/2Srfwuf