Nextjs TypeORM TailwindCSS TypeScript Reddit Clone #10 Voting on Posts & Comments

  Рет қаралды 2,576

Classsed

Classsed

3 жыл бұрын

❤️ Become a Patron and help the channel grow
/ classsed
⌨️ Source Code
github.com/hidjou/classsed-re...
🐦 Follow on Twitter
/ classsed
👨‍👨‍👦 Join the Discord Server
/ discord
🌍 Sign up for exclusive content
classsed.com

Пікірлер: 46
@eokwukwe
@eokwukwe 3 жыл бұрын
Thank you, man. Also, I really appreciate it that each lesson has a separate branch. It helps in debugging.
@Classsed
@Classsed 3 жыл бұрын
no problem :D
@rohitpatil6893
@rohitpatil6893 3 жыл бұрын
Tour demonstration is soo helpful and easy to understand .Do more of such demonstrations on your upcoming awsome videos
@Classsed
@Classsed 3 жыл бұрын
Awesome, thanks for the feedback ;)
@juliuscecilia6005
@juliuscecilia6005 3 жыл бұрын
I agree
@armaandhanji7151
@armaandhanji7151 3 жыл бұрын
Amazing as always, can't wait for the next one!
@bunnyr4690
@bunnyr4690 3 жыл бұрын
Right after I thought It cant get any better you pull out a diagram, dude you are awesome
@Classsed
@Classsed 3 жыл бұрын
Thank you friend :))
@Shakeel714
@Shakeel714 3 жыл бұрын
Cool teacher teaching invaluable and topnotch technologies in a cool way!!
@pablochocobar9045
@pablochocobar9045 3 жыл бұрын
Yep the demonstration was really helpful.
@Classsed
@Classsed 3 жыл бұрын
super! thanks 👍
@jeelybeenz
@jeelybeenz 3 жыл бұрын
Stellar as always.
@Classsed
@Classsed 3 жыл бұрын
Thanks :D
@amnaaldh9911
@amnaaldh9911 3 жыл бұрын
This is awesome, thank you
@Classsed
@Classsed 3 жыл бұрын
:D
@ehodges2004
@ehodges2004 3 жыл бұрын
Thank you for posting the github. Much easier to check typos etc. The diagrams are also good to see.
@Classsed
@Classsed 3 жыл бұрын
cool :D
@lifeisbeautifu1
@lifeisbeautifu1 Жыл бұрын
🔥🔥🔥
@williambrandin1396
@williambrandin1396 3 жыл бұрын
👑
@Classsed
@Classsed 3 жыл бұрын
:))
@digitalbites9181
@digitalbites9181 3 жыл бұрын
The explanation in the beginning was necessary in my opinion. Btw, the DrawSQL app looks good. I'll give it a try. Thanks
@robinkartik6356
@robinkartik6356 3 жыл бұрын
❤️
@adribusse
@adribusse 3 жыл бұрын
diagramms are super usefull
@salemouail627
@salemouail627 3 жыл бұрын
@consoledoterror971
@consoledoterror971 3 жыл бұрын
Here you return the post for a change in vote. Lets say if a post had 20k votes and 10k comments. Then won't it affect the performance of the application if we were to return the updated post as entirely for each vote change or adding comments.
@Classsed
@Classsed 3 жыл бұрын
As long as you dont return all that data to the client the performance is as fast as your SQL query which you can slightly improve here cuz I noticed TypeORM runs a prefetch query when you include a bunch of relations. You could store commentCount and voteScore separately or on the post record but might be too many writes, depends on your app but 10 or 20k is nothing for well indexed SQL DB
@mostaphaamghare313
@mostaphaamghare313 3 жыл бұрын
is there best pattern to implement one to many polymorphic in typeorm
@toss5337
@toss5337 3 жыл бұрын
Your'e amazing teacher, but i dont understand why some people dislike the video, even this one is absolutely freeee!, maybe in the future, youtube could have a form for filling the reason why people dont like video.
@Classsed
@Classsed 3 жыл бұрын
sometimes people dislike for the smallest of things haha, it's fine, as long as it's not too many dislikes the algorithm is happy haha
@abdulrafay1951
@abdulrafay1951 3 жыл бұрын
I did all of this complexity then forgot that what I have just done? Why it's happening? :(
@japroz
@japroz 3 жыл бұрын
There is a great Npm package called Tsgist. It helps you generate tsconfig.json files easily. Please use it in the tutorial
@Classsed
@Classsed 3 жыл бұрын
I usually use "tsc --init" and toggle the rules I'd use for the project, it takes a second
@JashnMaloo
@JashnMaloo 3 жыл бұрын
Aren't you the best teacher?
@Classsed
@Classsed 3 жыл бұрын
far from it, but getting there, thank you ;)
@usmanmughal5916
@usmanmughal5916 3 жыл бұрын
I did not create any migrations since the series start now if I generate migration then try to run server it says queryRunner not found ...
@Classsed
@Classsed 3 жыл бұрын
I've never come across that error, compare your code to mine and see maybe you missed out something
@usmanmughal5916
@usmanmughal5916 3 жыл бұрын
@@Classsed hmm for now sequealizer is doing the job :p
@Classsed
@Classsed 3 жыл бұрын
@@usmanmughal5916 Are you actually coding along this series and using Sequelize ?
@usmanmughal5916
@usmanmughal5916 3 жыл бұрын
@@Classsed sorry i meant synchronizing :true my bad.
@Classsed
@Classsed 3 жыл бұрын
ohh ok, np
@ryadean
@ryadean 3 жыл бұрын
First
@Classsed
@Classsed 3 жыл бұрын
Nice! :D
@cryptus_neoxys
@cryptus_neoxys 3 жыл бұрын
Give up the GitHub repo link now come on! Can't wait to resolve errors quicker.
@Classsed
@Classsed 3 жыл бұрын
I'll add the Github repo link soon, it's no biggie just takes some time, but it's better to resolve the errors on your own, honestly bro, if you keep relying on copying code each time there is an error your debugging skills wont progress at all
TypeScript Origins: The Documentary
1:21:36
OfferZen Origins
Рет қаралды 274 М.
бесит старшая сестра!? #роблокс #анимация #мем
00:58
КРУТОЙ ПАПА на
Рет қаралды 3,1 МЛН
MEU IRMÃO FICOU FAMOSO
00:52
Matheus Kriwat
Рет қаралды 34 МЛН
Osman Kalyoncu Sonu Üzücü Saddest Videos Dream Engine 170 #shorts
00:27
8 TypeScript Tips To Expand Your Mind (and improve your code)
10:54
The Truth about Rust/WebAssembly Performance
29:47
Greg Johnston
Рет қаралды 173 М.
5.5 Math Books For Self Made Mathematicians
25:50
The Math Sorcerer
Рет қаралды 14 М.
The ARCH LINUX Experience
34:30
Bog
Рет қаралды 95 М.
Урна с айфонами!
0:30
По ту сторону Гугла
Рет қаралды 7 МЛН
Игровой Комп с Авито за 4500р
1:00
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 1 МЛН
💅🏻Айфон vs Андроид🤮
0:20
Бутылочка
Рет қаралды 738 М.