Тёмный
Tuomo Kankaanpää
Tuomo Kankaanpää
Tuomo Kankaanpää
Подписаться
I make videos about Next.js and modern web development | Senior software developer w/ 10+ years of experience.
How to Correctly Use Fetch In Next.js
10:39
5 месяцев назад
How to Get Ahead of 99% of Next.js Developers
4:51
8 месяцев назад
Next.js 14 - All you need to know
7:49
11 месяцев назад
Vercel Storage in 5 minutes!
5:35
Год назад
Next.js ROUTE HANDLERS deep dive
17:29
Год назад
Комментарии
@nic3bro
@nic3bro День назад
Obrigadoooo, me ajudou muito
@ArdavanIzadiyar-w9l
@ArdavanIzadiyar-w9l 3 дня назад
Background music is too loud. Hard to hear what you say
@jafir.r
@jafir.r 7 дней назад
thank you for your work❤
@TuomoKankaanpaa
@TuomoKankaanpaa 6 дней назад
Cheers!
@AnthonyObi-wr6ro
@AnthonyObi-wr6ro 9 дней назад
Where can i learn specifically step by step as you highlited here
@CREATORS93
@CREATORS93 17 дней назад
No bullshit straight to the point. Awesome!
@Su47Goldeneagle
@Su47Goldeneagle 18 дней назад
Can you please tell us how to protect API Routes from cURL attacks using postman?
@TuomoKankaanpaa
@TuomoKankaanpaa 18 дней назад
Thanks for the request! Can you specify a bit more on ehat kind of attacks, I’m not sure if I understood
@Su47Goldeneagle
@Su47Goldeneagle 18 дней назад
@@TuomoKankaanpaa In my case I have a round handler called translate-text, Now when I call it on my website it shows up in the network tab, so If a tech-savvy person copies its cURL and tries to call it from Postman he will succeed.
@TuomoKankaanpaa
@TuomoKankaanpaa 18 дней назад
@Su47Goldeneagle so you would like some kind of authentication to it? I have videos about protecting api routes and nextjs auth you should check them out I think they will be helpful!
@Su47Goldeneagle
@Su47Goldeneagle 18 дней назад
@@TuomoKankaanpaa Yes, I thought authentication would solve the problem, but it didn't. I'm using Supabase authentication which is similar to NextAuth. However, a logged-in user can copy the cURL of the endpoint and paste it inside Postman, allowing them to abuse my API by using their embedded authentication from the cookie.
@TuomoKankaanpaa
@TuomoKankaanpaa 18 дней назад
@Su47Goldeneagle but since the user already has rights to use your api, i’m not sure why does it matter if they do it from the browser or from postman?
@yhr4052
@yhr4052 22 дня назад
With Next.js' latest versions, it is now: import { revalidatePath } from 'next/cache' -> revalidatePath(`/blog/${slug}`)
@yhr4052
@yhr4052 27 дней назад
Hey Tuomo, always happy to watch your videos. I had forgotten about the import trick instead of directly linking the public path, thank you for the reminder
@TuomoKankaanpaa
@TuomoKankaanpaa 26 дней назад
Cheers!
@FGA-47
@FGA-47 27 дней назад
Thanks a lot for this great content❤
@TuomoKankaanpaa
@TuomoKankaanpaa 27 дней назад
Thank you for your comment and watching! Appreciate it!
@bollywoodkol783
@bollywoodkol783 28 дней назад
bro show web designers job people too, i am thinking about Finland now.
@irfankurniawanS
@irfankurniawanS Месяц назад
what if u are trying to fetch it?
@pavindulakshan680
@pavindulakshan680 12 дней назад
The logic is same. you check for session and if there is no session, you reject sending data
@boobo
@boobo Месяц назад
How to use this in local database ?
@mohamedabdelkader8003
@mohamedabdelkader8003 Месяц назад
its good viedo bro and very release
@TuomoKankaanpaa
@TuomoKankaanpaa Месяц назад
Cheers!
@mohamedabdelkader8003
@mohamedabdelkader8003 Месяц назад
@@TuomoKankaanpaa keep going bro you really charge us to live a dream like that,god be with you
@ajayrathod7438
@ajayrathod7438 Месяц назад
This video was very informative. I am making my first project in next.js and i was facing issue with theme in it. with your video my all isssue are resolved. Thanks a lot!!
@TuomoKankaanpaa
@TuomoKankaanpaa Месяц назад
Thats great to hear! Thanks!
@moyst_archives
@moyst_archives Месяц назад
Great video, Estonia is really beatuiful! Especially in snow
@TuomoKankaanpaa
@TuomoKankaanpaa Месяц назад
Gotta visit there some day!
@moyst_archives
@moyst_archives Месяц назад
@@TuomoKankaanpaa oh my bad, haha i thought this vid was about estonia thats why I wrote it, now i understand, sorry, Finalnd is really beatiful!
@MohamedAmakrane-Developer
@MohamedAmakrane-Developer Месяц назад
Bro am a junior software developer I want to work in Finland waht is the most in demand technology there I should learn and what do you think about Finland talent boost program ✨
@utkarshpatel4077
@utkarshpatel4077 Месяц назад
sir plss make a video on django websocket and redis deployment on vercel🙏🙏sir i really find this video in whole youtube but i am unable to find it... Help me as soon as posible😓
@Code4FunEducation-vn6bs
@Code4FunEducation-vn6bs 2 месяца назад
Can we delete a Storage so we can create a new Storage, PostgreSQL? Because I can't connect an existing project prisma DB to vercel ! thank you.
@longphan9476
@longphan9476 2 месяца назад
How do I go to Finland for developer? btw nice video
@TuomoKankaanpaa
@TuomoKankaanpaa 2 месяца назад
Thanks! It’s a good place to be a developer!
@nicolascuor2378
@nicolascuor2378 2 месяца назад
I think that a mix of tutorials and practice could be effective as well..
@AnthonyCandaele
@AnthonyCandaele 2 месяца назад
Thanks a lot Tuomo for this video. It's a lot clearer to me now how to implement role based authorization in Next.js. My only question is how to do this with email password authentication instead of Github authentication. Greetings, Anthony
@thecoder1631
@thecoder1631 2 месяца назад
Which tool do you use ? I'm doing the same mistake right now lol, not that familiar wjth figma srill trying to create wireframe with it. Now it has turned into a prototype lmao 😂
@longphan9476
@longphan9476 2 месяца назад
Greet videos 🎉
@Marcel.Espinoza
@Marcel.Espinoza 2 месяца назад
How you change language in metadata?
@chungus4005
@chungus4005 2 месяца назад
Perfect explanation Tuomo. Thanks and subscribed
@TuomoKankaanpaa
@TuomoKankaanpaa 2 месяца назад
Great to hear thanks!
@XY-ep8uz
@XY-ep8uz 2 месяца назад
I just say FUUUUUUUU, get angry and start the task with all my anger. And all of a sudden it’s dine
@TuomoKankaanpaa
@TuomoKankaanpaa 2 месяца назад
Haha nice! What ever works!
@appreciateit.
@appreciateit. 2 месяца назад
a great tip!
@Wideful44
@Wideful44 2 месяца назад
U from finland?
@TuomoKankaanpaa
@TuomoKankaanpaa 2 месяца назад
Yes sir!
@andreigatej6704
@andreigatej6704 2 месяца назад
I had a great experience creating my personal website (which has a blog) with Hugo. Definitely would recommend it!
@TuomoKankaanpaa
@TuomoKankaanpaa 2 месяца назад
I agree that it’s a great project to build, if your goal is to build a blog, not to start blogging 👍
@andreigatej6704
@andreigatej6704 2 месяца назад
@@TuomoKankaanpaa I would say that the blogging experience is pretty smooth, too! I only spent time in the beginning to customise my theme. If I want to add a blog post, I use a command to scaffold the .md file and that’s it.
@ImStephhhh
@ImStephhhh 2 месяца назад
I just finished developing my mern stack blog 😅
@lucaschitolina7156
@lucaschitolina7156 2 месяца назад
Great explanation, thanks!
@TuomoKankaanpaa
@TuomoKankaanpaa 2 месяца назад
Cheers!
@oldalpredstone2834
@oldalpredstone2834 2 месяца назад
The biggest mistake is to use javascript 😂😂
@TuomoKankaanpaa
@TuomoKankaanpaa 2 месяца назад
Why is that?
@oldalpredstone2834
@oldalpredstone2834 2 месяца назад
@@TuomoKankaanpaa It was just a joke based on popular hate of the language, I would say that this is happening because of the messy implementation of JavaScript that causes a lot of confusion and weird errors. This may have happened because the first version of JavaScript was written in just a few days.
@abdalrhmanalmarakeby5813
@abdalrhmanalmarakeby5813 2 месяца назад
Is there is a way to contact you?
@TuomoKankaanpaa
@TuomoKankaanpaa 2 месяца назад
Yeah, check out my bio here in youtube, there is my email and x account. Those are the best ways to get in touch
@akashddeepchitransh4537
@akashddeepchitransh4537 2 месяца назад
Great explanation! Keep it up.
@TuomoKankaanpaa
@TuomoKankaanpaa 2 месяца назад
Thanks!
@Rorschach1488_
@Rorschach1488_ 2 месяца назад
Great. I will have to find a way to disable this shit. Fuck AI!
@TwistedChaz
@TwistedChaz 2 месяца назад
Theo called, he wants his thumbnail back!
@Hirshkowsky
@Hirshkowsky 2 месяца назад
nice, any chance they update it to full blown gemini?
@TuomoKankaanpaa
@TuomoKankaanpaa 2 месяца назад
Yeah dunno either yet!
@astral_gaming_0956
@astral_gaming_0956 2 месяца назад
I wonder if they'll put some notifications like permission to use AI by the browser (similar to microphone / camera), or some notification that shows if the AI is active? Otherwise, I don't think there's anything from stopping websites, or even malicious UI libraries to execute AI tasks using your computer's resources
@chotai
@chotai 2 месяца назад
Yes, I think there should be global settings, at least, whether to have AI enabled in local.
@mrinaalarora507
@mrinaalarora507 2 месяца назад
great video, very helpful was stuck from a long time.
@TuomoKankaanpaa
@TuomoKankaanpaa 2 месяца назад
Cheers!
@EdgarFloresDEV
@EdgarFloresDEV 3 месяца назад
I totally agree too, I just got back from one and I am excited to share everything that I learned on a video! It's a great way to get that local support from the community near you to help you break into tech as a newbie.
@choulouchris8788
@choulouchris8788 3 месяца назад
Thanks Tuomo, learning the route handler and you helped a lot.
@TuomoKankaanpaa
@TuomoKankaanpaa 3 месяца назад
Great to hear!
@choulouchris8788
@choulouchris8788 3 месяца назад
@@TuomoKankaanpaa Hi Tuomo, I found out there is a caching problem when using such const result = await sql`Select * From posts;`; I used cookies() to make every query up-to-date, is there any other ways we can deal with it? Otherwise the users won't see the newest data, thanks!
@TuomoKankaanpaa
@TuomoKankaanpaa 3 месяца назад
@@choulouchris8788 Here's a detailed explanation of how different caching mechanisms work, hope that helps: x.com/tumee/status/1807337915275420090
@izsalqurlinas
@izsalqurlinas 3 месяца назад
Thanks for information for this example navigation, because I'm recently using method 1 and method 2
@TuomoKankaanpaa
@TuomoKankaanpaa 3 месяца назад
Cheers!
@Mortada_DEV
@Mortada_DEV 3 месяца назад
Thanks for all the info in this video ... A little side note: adding timestamps would be a great help!
@TuomoKankaanpaa
@TuomoKankaanpaa 3 месяца назад
Thanks for the feedback, good point, I should add those!
@codernerd7076
@codernerd7076 3 месяца назад
welcome back!!! And thanks for all your videos so far!
@TuomoKankaanpaa
@TuomoKankaanpaa 3 месяца назад
Thanks! Im glad you have liked them!
@yhr4052
@yhr4052 3 месяца назад
Hey man, glad to see you back!
@TuomoKankaanpaa
@TuomoKankaanpaa 3 месяца назад
Thanks thats great to hear!
@izsalqurlinas
@izsalqurlinas 3 месяца назад
Very informative, thank you
@TuomoKankaanpaa
@TuomoKankaanpaa 3 месяца назад
Cheers!
@ManiSingh-gr7zi
@ManiSingh-gr7zi 3 месяца назад
Brilliant, thank you.
@TuomoKankaanpaa
@TuomoKankaanpaa 3 месяца назад
Cheers!
@yarapolana
@yarapolana 3 месяца назад
Kiitos for the video🎉
@TuomoKankaanpaa
@TuomoKankaanpaa 3 месяца назад
Cheers!
@xinpan1676
@xinpan1676 3 месяца назад
Let's be clear, writing blogs and building blog website (via code) are two different skills sets. You have to prioritize between practicing coding VS wiring blogs/sharing something. As a SDE, if you want to start a blog and write something. You do not need to build a blog from scratch. Cause this will distract you from the main purpose. If you want to practice your coding skills or have a side project - go ahead. And built a blog website is just one of them.
@TuomoKankaanpaa
@TuomoKankaanpaa 3 месяца назад
Indeed!
@codingwithrendi
@codingwithrendi 3 месяца назад
i make my own blog to practice my skills