Code a Reddit Clone with React, Next.js, Firebase v9, Chakra UI - Full Course

  Рет қаралды 141,652

freeCodeCamp.org

freeCodeCamp.org

Күн бұрын

Пікірлер
@shadmerhi
@shadmerhi Жыл бұрын
Thank you @freecodecamp for sharing! Also, I just recently upgraded the project source code from Next 12 to Next 13 and it functions exactly as it does in the tutorial, using the same patterns taught in the tutorial, so all viewers can safely proceed with the build using all latest package dependencies 🚀
@eaglesrockbooya
@eaglesrockbooya Жыл бұрын
Newbie trying it out on Next 13 and get this error compiling once I start installing the chakra around the 19min mark TypeError: Cannot read properties of null (reading 'useMemo') Call Stack useMemo file:/Users/x/node_modules/react/cjs/react.development.js (1650:21) ThemeProvider file:/Users/x/node_modules/@chakra-ui/system/dist/chunk-3ZTTLJBV.mjs (14:25)
@slemansafiah8588
@slemansafiah8588 Жыл бұрын
i am glad to hear this , all the best bro
@Almighty_Flat_Earth
@Almighty_Flat_Earth Жыл бұрын
React js is a blasphemy for JavaScript community. React nonsense must be banned across world plane. This f library makes web development unnecessarily complicated. Angular is far better than svelte and react nonsense., because it leverages rxjs subscription, angular service make communication between sibling components much easier, developers know what exactly is happening. Svelte and react have confusing code. Developer experience matters.
@Almighty_Flat_Earth
@Almighty_Flat_Earth Жыл бұрын
React is f nonsense library no one asked for. React is a tyrant, makes web development unnecessarily complicated with its weird and alien syntax.
@shadmerhi
@shadmerhi Жыл бұрын
@@eaglesrockbooya Are you using the app directory?
@鎮安陳-n4r
@鎮安陳-n4r Жыл бұрын
Awesome! Thank you very much Shadee. I'm a frontend developer & learner from Taiwan, who has been benefited from generous people like you on the web for my dev carrer. Cheers!
@MsSharayu
@MsSharayu Жыл бұрын
This is an awesome Project, it's been a month and I have completed 65% of it. Happy so far. Highly recommended.
@ksjitendra18
@ksjitendra18 Жыл бұрын
I have completed this whole series from the Shadee's channel and trust me this is by far the best project video. This is bit towards intermediate level project so give time to it.
@Johnsonwingus
@Johnsonwingus Жыл бұрын
This is awesome, gonna save this for when I start learning react. Currently learning native JavaScript so I'll make it here eventually, don't delete this video! :D
@dadodelgado1996
@dadodelgado1996 Жыл бұрын
1:26:40 Visual Studio Code also has a feature to format your text, just press f1 and type "snake" or "upper case" and it shows you the option to transform your current selected text easily
@CharlExMachina
@CharlExMachina Жыл бұрын
In 1:13:17, an alternative solution is to use the gap property. You could pass gap={1} as a prop in the component and achieve the same effect
@LetsFly96
@LetsFly96 Жыл бұрын
Thank you for this! Trying to create an app with similar functionality and this has perfect timing :) Happy to see some up-to-date Firebase info as well. I'm about an hour in and excited to complete this project!
@waqarhaq5280
@waqarhaq5280 Жыл бұрын
what's your progress so far ?
@devhammed
@devhammed Жыл бұрын
Thanks!
@maxmi3091
@maxmi3091 Жыл бұрын
Incredible that you provide this for free. Thank you very much, I will do the course as soon as I have time.
@taurohkea2169
@taurohkea2169 Жыл бұрын
he didnt only create the whole app but also speedrun it :D amazing!
@Bigfoot_With_Internet_Access
@Bigfoot_With_Internet_Access Жыл бұрын
Cool now I can make my own reddit and call it "good reddit"
@TickingBombCom
@TickingBombCom Жыл бұрын
Quick question... do you think you could make a strip down version... where it would strictly be a subreddit... I'm looking to create a forum on my website. I always thought it would be awesome to have my own "SubReddit." I know nothing about code... Thoughts?
@Bigfoot_With_Internet_Access
@Bigfoot_With_Internet_Access Жыл бұрын
​@@TickingBombCom that's probably possible, depending on what exactly you mean by having your own subreddit om your site. But I don't really know anything about web development. I'm sure someone else in these comments could probably give you some real info on how to do that though
@katyushha_
@katyushha_ Жыл бұрын
better reddit
@hrithiksingh73
@hrithiksingh73 Жыл бұрын
​@@katyushha_ i am creating a better reddit, and called re-reddit but confuse about what to build first mobile or web
@aldrinseanpereira140
@aldrinseanpereira140 Жыл бұрын
This seems like a really fun project to build! I love it!
@INAVACL
@INAVACL Жыл бұрын
Will always appreciate these FULL courses that arent split into parts thanks!
@ShrivastavAditya
@ShrivastavAditya Жыл бұрын
Hey Guys, If you are getting a typescript error @1:30:00 after writing the line "const app = !getApps().length ? initializeApp(firebaseConfig) : getApps();" then change that line to """ let app; if (!getApps().length) { app = initializeApp(firebaseConfig); } else { app = getApp(); } """ This will solve the error and you will be able to use app in all functions like firestore(), auth(), storage(), getAnalytic() etc.
@User-w8t4t
@User-w8t4t Жыл бұрын
Masterpiece, included many many skills
@BotsOne
@BotsOne Жыл бұрын
Awesome tutorial! I was able to follow it to the end using NextJS 13 without too many discrepancies. I'm going to continue to develop it out and add new features so that I can get better at React and NextJS. Thanks again @shadmerhi
@adeleke5140
@adeleke5140 Жыл бұрын
Love that you made this Shadee. Currently taking it right now.
@adeleke5140
@adeleke5140 Жыл бұрын
haven't finished yet but would be finishing this week
@prasannasahoo0806
@prasannasahoo0806 7 ай бұрын
Just checking on you...did you finish it ?​@@adeleke5140
@kevin73911
@kevin73911 Жыл бұрын
Finished watching this. Nice tutorial for nextjs. Thank you. ;)
@bkatsevych
@bkatsevych Жыл бұрын
I've found Shad's channel several weeks ago, didn't expect him to show up on fCC that quickly, my congrats.
@ascyrax8507
@ascyrax8507 Жыл бұрын
perfect timing. i was looking for something like this
@charliewang6041
@charliewang6041 Жыл бұрын
Please make a video on how to convert this project and others like it into Next 13 with the App Router and all the other new features. A lot of people (including me) would really appreciate it.
@codewithguillaume
@codewithguillaume Жыл бұрын
Woooow ! Loving it ❤
@charliewang6041
@charliewang6041 Жыл бұрын
This tutorial is a life-saver!! I've been learning web development for only half a year, trying to make a website for my school. Reddit is the closest website out there to the one I'm trying to make, and this tutorial uses the exact tech stack I was hoping for. Thank you so much Shadee for making this tutorial and freeCodeCamp for bringing it to my attention. :)
@clippy5394
@clippy5394 Жыл бұрын
nextjs 12 is outdated already
@rawwwwwr
@rawwwwwr Жыл бұрын
thanks, rlly appreciate your contribution to free education.
@ssm2015_ita
@ssm2015_ita Жыл бұрын
As usual amazing work done by freeCodeCamp
@infiniterush
@infiniterush Жыл бұрын
This might be one of the biggest projects that I've seen from Freecodecamp. Thanks aloooooot.🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥
@iamnisc
@iamnisc Жыл бұрын
Yeah Bahubali
@Khang-rr8td
@Khang-rr8td Жыл бұрын
Thank you for your dedication to helping people learn and grow. Your contributions are truly appreciated.
@TheEndOfMadness
@TheEndOfMadness Жыл бұрын
ONLY 3K LIKES??? SO UNDERRATED. GREAT WORK BUD.
@TomMeadowsFox
@TomMeadowsFox Жыл бұрын
what an awesome project. I didnt get to it yet, but im assuming there is no branching comments (ie comment of the comment of the comment). its such an essential element of reddit, and is a bit complex in terms of UI (it seems pretty dynamic). would love to see an update to this with that element! edit- nevermind he has the nested comments on his own youtube page!
@madeonearthbyhumans
@madeonearthbyhumans Жыл бұрын
Few,,, Cool.., I'll back when my popcorns 🍿 ready🥤 this is my Netflix version... marathon
@sergeybrin1326
@sergeybrin1326 Жыл бұрын
Ah yes I can absolutely customize my reddit EVERYTHING I WANT
@changmetellus3052
@changmetellus3052 Жыл бұрын
Amazing tutorial 🙌🏽
@sidd_sarkar
@sidd_sarkar Жыл бұрын
The comment thread part i was looking for. Would be better if added.
@grotsunfull
@grotsunfull Жыл бұрын
Great content!
@techwithulises
@techwithulises Жыл бұрын
Excelente video 👍
@maskman4821
@maskman4821 Жыл бұрын
Shadmerhi's channel is really awesome, all the projects UI are beautifully designed, fully responsive and production ready. I like chat app the most because it is the best chat app we can ever have anywhere, and now we have the almost identical reddit clone, trully amazing, I will definitely make time watcging the full video and build it, thank you Shadmerhi for the best quality content 🙏🙏🙏
@amaanullah13
@amaanullah13 Жыл бұрын
You guys are life saviour♥️
@philcurran8306
@philcurran8306 Жыл бұрын
Looks cool; excited to get started on this. One question first though; is the result 'multi-tenant,' meaning can multiple people theoretically login and use it with distinct accounts and database entries?
@slemansafiah8588
@slemansafiah8588 Жыл бұрын
i think this looks great , but i hope also next video to be on next 13 because it has a major changes even though it is on beta and to many things will changes in the coming days
@stcattc
@stcattc Жыл бұрын
So all tutorials are meant to be created on beta software 😂
@slemansafiah8588
@slemansafiah8588 Жыл бұрын
@@stcattc i don't mean that 😂😂😂 But a lot of devs have issues with next 13 so that the case 😁😁
@adeleke5140
@adeleke5140 Жыл бұрын
Is there a reason for using next 13?
@hazadus
@hazadus Жыл бұрын
@@adeleke5140 No.
@JJDK485
@JJDK485 Жыл бұрын
Wow. What a miracle!
@devsilva7155
@devsilva7155 Жыл бұрын
Wow a tiktok clone with nextjs and firebase would be awesome, upload videos, likes, comments, shares, profile page, and authentication
@kunzhang6927
@kunzhang6927 Жыл бұрын
amazing video, Thank you for this!
@satwikagarwal3736
@satwikagarwal3736 Жыл бұрын
finally completed . took me way too long. Thank you @shadmerhi for this amazing tutorial.
@juanpasalagua2402
@juanpasalagua2402 Жыл бұрын
Kudos to you broda!!!! :)
@harshkanojia8419
@harshkanojia8419 Жыл бұрын
For those who dont know this is the previous version of next js - 12.1.0
@TomMeadowsFox
@TomMeadowsFox Жыл бұрын
you guys should always provide the code editor color scheme and font!
@waqarhaq5280
@waqarhaq5280 Жыл бұрын
5:51:00 cant we use transaction here? so that if image is uploaded and document is created we get post or nothing else?
@yantech.4249
@yantech.4249 Жыл бұрын
Amazing tutorial
@history3042
@history3042 Жыл бұрын
Thanks. This will be useful
@bestAIUser
@bestAIUser Жыл бұрын
Perfect🎉❤
@marloncruz5892
@marloncruz5892 Жыл бұрын
will it work if i go back to the Spark plan? Great Course! Love it
@microwavecoffee
@microwavecoffee Жыл бұрын
Great vid but unfortunately the vote system suffers from race conditions. You can easily manipulate the number of votes for a post through simply spamming the upvotes (as two consecutive requests can be overlapped, leading to inconsistent votes). edit: If anyone wants a solution to this issue, you must switch from using batched writes to a transaction. The reason this works is that transactions can both read and write, and hence you can do your checks for data consistency with your reads followed by your writes (also internally Firestore makes sure that if the data changes while the transaction runs, it retries from the start, hence preventing race conditions). See the "Aggregation Queries" Firestore documentation page for an example implementation.
@prakash-niroula
@prakash-niroula Жыл бұрын
thanx mate, that's actually a very important security risk if applied on delicate things
@microwavecoffee
@microwavecoffee Жыл бұрын
@@prakash-niroula Yeah it's crucial to avoid race conditions in all situations
@kovbenyaalexander5426
@kovbenyaalexander5426 Жыл бұрын
11:16:51 e.stopPropagation didnt prevent event bubbling. how can i solve this problem? usually stopPropagation always helped
@ShivaM-wg9qc
@ShivaM-wg9qc Жыл бұрын
hey have you figured out the soultion actually i am facing the same issue any help is appriciated.
@kovbenyaalexander5426
@kovbenyaalexander5426 Жыл бұрын
​@@ShivaM-wg9qc I don't know how to solve this problem. sorry man
@ShivaM-wg9qc
@ShivaM-wg9qc Жыл бұрын
No worries 🙌🏻
@aaronbrown9816
@aaronbrown9816 Жыл бұрын
@@ShivaM-wg9qc have you tried using e.preventDefault instead ?
@juanpardo8551
@juanpardo8551 Жыл бұрын
Does anyone know how to refactor the ssr at minute 4:00:00, because ssr in next13 doesn't work anymore
@abhijitmanna4524
@abhijitmanna4524 Жыл бұрын
same issue, thank you for commenting server side rendering no more working any fix ?
@Jonasgranlof
@Jonasgranlof Жыл бұрын
Same here, did you manage to solve it?
@abhijitmanna4524
@abhijitmanna4524 Жыл бұрын
Likely it has been changed like it will only work in prod mode no more in dev mode and if you want in dev mode still not clear I watched various stackoverflow posts, nextjs docs, they didn't changed the docs actually
@Jonasgranlof
@Jonasgranlof Жыл бұрын
@@abhijitmanna4524 Yeah same here, haven't been able to solve it still which is pretty annoying...
@abhijitmanna4524
@abhijitmanna4524 Жыл бұрын
@@Jonasgranlof can you implement getServerSession and check if it is working instead of getServerSideProps please do tell if it works
@dbruddy
@dbruddy Жыл бұрын
WOW Amanzing
@rs4267
@rs4267 Жыл бұрын
Can i start this course without knowning redux ? Thank you so much for your work, i hope i'll learn a lot from this tutorial !
@cevdet-gt3uu
@cevdet-gt3uu Жыл бұрын
I recognize Shadee and he is one of the best indoctrinators. I highly recommend checking his KZbin channel
@Nihilist_Porcupine
@Nihilist_Porcupine Жыл бұрын
Assuming you're not a native English speaker: I think you mean "educators" not "indoctrinators". Indoctrination has a much more negative meaning than you were probably intending. Education is learning about objective, provable reality and fact. Indoctrination is learning "facts" that may or may not be true, and believing in them without having valid evidence. So, calling someone an "indoctrinator" is not a compliment, whereas calling someone an "educator" is a more neutral (and sometimes positive) statement. I hope that makes sense.
@cevdet-gt3uu
@cevdet-gt3uu Жыл бұрын
@@Nihilist_Porcupine thanks for Information and you guessed right i am not a native speaker :)
@satwikagarwal3736
@satwikagarwal3736 Жыл бұрын
I am making this project in next13 app directory instead of the pages director and at 3:50:12 instead of using getServerSideProps i used next13's generateStaticParams to do ISR but it seem to cause react hydration errors i can't understand . Can someone help me out, i am stuck?
@Sukawheatloaf
@Sukawheatloaf Жыл бұрын
Can you explain how you fix this error. I'm getting the same thing.
@cj1871
@cj1871 Жыл бұрын
Thanks so much for this course! Does anyone know if there are any other advantages to using the Cloud functions approach rather than the useEffect way, other than less code to write/maintain?
@akshayagarwal9311
@akshayagarwal9311 Жыл бұрын
Can someone tell me the pre-requisites required for this course? Do you need to have a good grasp on the mentioned tech-stack or a beginner would be able to follow along?
@MsSharayu
@MsSharayu Жыл бұрын
I have a question, why didn't you use nextAuth functionality instead of firebaseAuth?
@AmanKhan-bw3rt
@AmanKhan-bw3rt Жыл бұрын
awesome awesome
@owensofcode
@owensofcode Жыл бұрын
Thanks alot
@jeandesauw7646
@jeandesauw7646 Жыл бұрын
That's a little "meeh" its not Next.js 13, but everything else seems amazing, HUGE THANKS for providing it for free as always !
@AmanKhan-bw3rt
@AmanKhan-bw3rt Жыл бұрын
5:32:10 if disabled button not working then use isDisabled={}
@ugbanawaji
@ugbanawaji Жыл бұрын
is there a way to swap out chakra ui in favour of bootstrap 5? just for customization purpose though and how to with plain old css
@mahendranath2504
@mahendranath2504 Жыл бұрын
Thank you so much for the awesome content ✨✨👏👏😍😍🙌🙌👍👍👌👌🤩🤩✌✌🐱‍🏍🐱‍🏍🎉🎉😊😊
@antontyronchik496
@antontyronchik496 Жыл бұрын
Hi guys, do u know why author used chakra Image instead of next/image?
@TomMeadowsFox
@TomMeadowsFox Жыл бұрын
can you share your font and vscode theme? i like to match when i follow along!
@mocambiquemaputomatola8238
@mocambiquemaputomatola8238 Жыл бұрын
Hi bro, can you develop reddit clone using prisma nextjs typescrupt and tailwind please, like updated reddit clone?
@Hacking-NASSA-with-HTML
@Hacking-NASSA-with-HTML Жыл бұрын
Hello 👋 Sir, maybe you could make a tutorial on how to make a MERN simple blog, with images stored in a Cloudinary 🤗🙏?
@adjust6744
@adjust6744 Жыл бұрын
Celebrate birthday or do this tutorial? Maybe celebrate by doing tutorial. FCC is the best
@frogfox9577
@frogfox9577 Жыл бұрын
Hi, it's with nextJS 12 or 13 ?
@hooyah
@hooyah Жыл бұрын
why that repo is edited 10 months ago? has anyone watched it? and can this be implemented with the new version of dependencies?
@jovan4614
@jovan4614 Жыл бұрын
Nextjs 12 is outdated!
@yoshy3263
@yoshy3263 Жыл бұрын
You can install older version, and do the video like I have
@webcoder9029
@webcoder9029 Жыл бұрын
Awesome helpful video #webcoder
@musabmomin9906
@musabmomin9906 Жыл бұрын
hey, I am following this course and stuck on adding community snippet to my existing user. The problem is when I am trying to add sub collection of communitySnippet. it is getting added as separate document in users collection. I following the code line by line. if you can help me pls help me out.
@hrithikwins
@hrithikwins Жыл бұрын
It's on nextjs 12 :D Edit: Updated on 13. check pined cmmnt
@VedashreeBhat
@VedashreeBhat 17 сағат бұрын
I am getting issue with extendTheme. Module '"@chakra-ui/react"' has no exported member 'extendTheme'. ---> This is the error, I tried everything, reinstalling chakra, clearing cache everything!! Then too same error is there. Can someone help me?
@jaymahakaal5354
@jaymahakaal5354 Жыл бұрын
Chakra🕉️🔱
@abdelrahmanmostafa9489
@abdelrahmanmostafa9489 Жыл бұрын
what's the difference between get and getDoc
@fahadullakhan1793
@fahadullakhan1793 Жыл бұрын
"getServerSideProps" is not supported......how can I fix this?
@TickingBombCom
@TickingBombCom Жыл бұрын
I'm looking to hire a developer that could create a SubReddit... I'm not looking to create the whole website... thoughts? Possible using this method? A stripped down model of this concept?
@z52ontop
@z52ontop Жыл бұрын
Time stamp for me: 27:21
@sibirajvibrosvlog
@sibirajvibrosvlog Жыл бұрын
Hi iam from tamilnadu
@pira9850
@pira9850 Жыл бұрын
Woah
@meetabhashiniparida9417
@meetabhashiniparida9417 Жыл бұрын
What is chakra ui all about?
@sanidhya5433
@sanidhya5433 2 ай бұрын
Is it responsive ?
@ojasvisingh786
@ojasvisingh786 Жыл бұрын
🤩✨🥳🥳👏👏👏
@MissDepronBlack
@MissDepronBlack Жыл бұрын
I'm having issues when compiling this - the error points to an issue with importing Global CSS from files other than the Custom , and asking for import traces on the @fontsource modules and chakra theme.ts file. Anyone else seeing this issue? Googled my butt off already, but nothing seems to fix the issue. Please help.
@dawitsileshi5946
@dawitsileshi5946 Жыл бұрын
No way !!!
@ledgeplayz7640
@ledgeplayz7640 Жыл бұрын
Is this web or app?
@MohyeMahmoudFawzy
@MohyeMahmoudFawzy Жыл бұрын
May you make a website project like Amazon or Ali Express with laravel angular postgresql. Thanks free code camp for your efforts
@rishiraj2548
@rishiraj2548 Жыл бұрын
👍👍👍
@raki0125
@raki0125 Жыл бұрын
What is the pre requisite i know react
@sir.dookie5827
@sir.dookie5827 Жыл бұрын
javascript, html, css
@zeonos
@zeonos Жыл бұрын
Might be time to actually do this for real now that Reddit is starting to destroy their own website with insane API prices.
@charliewang6041
@charliewang6041 Жыл бұрын
What should we already know before watching this video?
@abhijitmanna4524
@abhijitmanna4524 Жыл бұрын
my getServerSideProps not working pls help
@timtom4154
@timtom4154 Жыл бұрын
Is it good time to start programming as have completed my undergraduation in civil or else go in civil. As ai is thriving day by day. Can any one suggest me
@Nihilist_Porcupine
@Nihilist_Porcupine Жыл бұрын
If you want to learn AI stuff, web development isn't really the best place to start. There's a cool Machine Learning for Everyone class that FCC offers that might be of more interest to you: kzbin.info/www/bejne/n5CvqK2Ii7VqmMk. I'd look at that and see if you like it before making any big decisions.
Гениальное изобретение из обычного стаканчика!
00:31
Лютая физика | Олимпиадная физика
Рет қаралды 4,8 МЛН
IL'HAN - Qalqam | Official Music Video
03:17
Ilhan Ihsanov
Рет қаралды 700 М.
10-Hour Masterclass: Develop 4 React Web Apps & Jumpstart Your Dev Career
9:25:37
Full Stack Next.js & Supabase Twitter Clone - Full Course
6:15:09
freeCodeCamp.org
Рет қаралды 113 М.
Гениальное изобретение из обычного стаканчика!
00:31
Лютая физика | Олимпиадная физика
Рет қаралды 4,8 МЛН