Next js Tutorial for Beginners | Nextjs 13 (App Router) with TypeScript

  Рет қаралды 467,074

Programming with Mosh

Programming with Mosh

Күн бұрын

Master Next.js 13 and build amazing full-stack apps! 🚀 This beginner-friendly tutorial covers the new App Router, TypeScript, and everything you need to get started.
🚀 Want to dive deeper?
- Check out my complete Next.js series: bit.ly/nextjs-series
- Subscribe for more videos like this: goo.gl/6PYaGF
💡 Learn React
- KZbin tutorial: • React Tutorial for Beg...
- Complete React course: bit.ly/3l0vWYR
✋ Stay connected:
- Twitter: / moshhamedani
- Facebook: / programmingwithmosh
- Instagram: / codewithmosh.official
- LinkedIn: / codewithmosh
📖 TABLE OF CONTENT
0:00:00 Course Intro
0:02:12 Prerequisites
0:03:16 Next.js Fundamentals
0:03:54 What is Next.js?
0:06:34 Setting Up the Development Environment
0:07:59 Creating Your First Next.js Project
0:10:21 Project Structure
0:13:10 Routing and Navigation
0:18:25 Client and Server Components
0:27:19 Data Fetching
0:33:23 Caching
0:35:48 Static and Dynamic Rendering
0:39:56 Styling Next.js Applications
0:40:16 Global Styles
0:42:50 CSS Modules
0:47:17 Tailwind CSS
0:54:56 DaisyUI
#nextjs #reactjs #javascript #coding #webdevelopment

Пікірлер: 453
@programmingwithmosh
@programmingwithmosh 7 ай бұрын
- Want to learn more? Get my complete Next.js series: bit.ly/nextjs-series - Subscribe for more videos like this: goo.gl/6PYaGF
@programmingwithnit5308
@programmingwithnit5308 7 ай бұрын
Thank
@dmtornado2569
@dmtornado2569 6 ай бұрын
Broken link for 'complete Next.js series'?
@miladesmailpour192
@miladesmailpour192 6 ай бұрын
great quality content, but as soon you subscribe to their website they keep charging you even after unsubscribing. they don't let you delete your credit info and respond the way it is our fault, like we can do anything about the autorenewal, not fix their website issue which is not secure and reliable to add credit info.
@shriram8421
@shriram8421 6 ай бұрын
when will next part will come this videos
@dee.s.4513
@dee.s.4513 7 ай бұрын
Mosh is an excellent instructor, he knows his subject, and knows how to put himself in the place of his student. Just look at the text size--so easy on the eyes. I learned a lot, and easily, just from this one hour.
@koiko21
@koiko21 4 ай бұрын
I really want to say thank you for all your tutorials, Mosh. Because of you and a few other influential teachers (like Brad Traversy and WebDevSimplified), I was able to become a software engineer from a non-technical background 2 years ago. Your tutorials have been invaluable for me since day 1. Your tutorials helped me get my first job and learn on the job. Now that I'm 2 years into my career, I'm being given opportunities to lead software projects at my company and even now you are still teaching me. I'm not sure if you'll ever see this comment, but I just wanted to say thank you for dedicating your life's work to making tech accessible for all. Thank you thank you thank you!
@madhupaka3774
@madhupaka3774 3 ай бұрын
Hey, @koiko21 I am from India. I have just graduated from college and I am looking for remote jobs in MERN stack. Can you help? I need to change my job very badly. Thanks.
@kylefinken329
@kylefinken329 14 күн бұрын
Literally looked all over for a video to just run over how next 13 renders pages, how the app router works, and how to fetch data and couldn't find anything decent until this. Really appreciate the content!
@noonenoone5121
@noonenoone5121 7 ай бұрын
I like your calm and fun voice when explaining, as well as keeping things short and sweet without wasting time, and the process of picking up subjects at the right time, not to forget avoiding complexations, and the good explanation, which is one of the best by the way. Honestly Mosh, you're the best teacher that has taught me, not just in programming, but the best teacher at all. I'm always happy, learning from you, it always feels joyful 😊
@genzolowo
@genzolowo 6 ай бұрын
I love Mosh! I remember when I was learning python back in 2022, Mosh explained it so well, and I was able to easily comprehend it, I trust this Next.js tutorial will be nothing but awesome. Thank you Mosh for all you do.
@Soomin28
@Soomin28 7 ай бұрын
Thank you Mosh for doing what you do with your videos! I'm self studying through the Odin Project and it is SOOOOO text heavy that its too overwhelming sometimes and my brain just doesn't understand words at some point. But once I go through their lessons and then watch your videos, you explain everything I read in a more easier way. It's like you're babying my brain, but it is still enriched LOL. You are my go-to guy when I need a refresher or more explanation!
@abdallahmah1867
@abdallahmah1867 7 ай бұрын
Hi Mosh, I want to express my heartfelt that I learned a lot from you during my career. Clean coding, efficient resources which I never see any other one in KZbin and Totutorials. I like the way you prepare and make your content to build beatiful course material and sections. I can say every time you surprised me how you organise and prepare you content. Best regards, Abdallah Mahmoud
@marianavieira2343
@marianavieira2343 5 ай бұрын
I simply love your tutorials! I started to use Next recently and you really helps me to get the base!
@militoarturo
@militoarturo 6 ай бұрын
I needed to learn the new Next.js 13 way of defining pages for my new project and I wasn't disappointed. Loved it! Will be using the recommended libraries as well
@thomasdang6565
@thomasdang6565 5 ай бұрын
I couldn't understand when I read other channels. But when I watch your channel, I see every things become easy. Thank you very much!
@tutopoints1920
@tutopoints1920 7 ай бұрын
I wanted to let you know that you're a legend sir, you have changed live, you've changed people who were hopeless, you took people from 0 and made them heroes. Thank you sir and may God bless you
@christerjohanzzon
@christerjohanzzon 7 ай бұрын
Please never stop doing these videos! Your content is invaluable to us plebs. Such great teaching and course materials.
@aasifbinmohammad
@aasifbinmohammad 7 ай бұрын
Hi Mosh, I just wanted to express my heartfelt gratitude for creating the Next.js course. Your dedication and expertise shine through every lesson, making it an invaluable resource for anyone looking to master Next.js. I've learned so much and feel confident in my Next.js skills thanks to your clear and engaging teaching style. Your hard work is greatly appreciated, and I'm looking forward to continuing my learning journey with your guidance. Keep up the fantastic work! Best regards, Aasif Mohammad
@piyushsalvi1580
@piyushsalvi1580 7 ай бұрын
hey bhai is this a new version of javascript?
@_ash64
@_ash64 5 ай бұрын
@@piyushsalvi1580 It is a framework that is built on top of React. You will have to learn JS first, then React, then Next. It is not very difficult, but take your time with it, do not rush.
@piyushsalvi1580
@piyushsalvi1580 5 ай бұрын
@@_ash64 thanks ash
@TravelerAbdulAlim
@TravelerAbdulAlim 5 ай бұрын
Wonderful. I've found bunch of instructors over the internet now-a-days. But your way of explaining things is really impressive. Best of luck Mosh. Love from Bangladesh.
@frankiewong2215
@frankiewong2215 5 ай бұрын
The part that explains static and dynamic rendering is very clear! thank you so much
@michaeldausmann6066
@michaeldausmann6066 7 ай бұрын
Great content. I like the explanation of rendering modes. I got a little confused when my h1 tags didn't look like headings but that is just a Tailwind thing I think, might be worth mentioning, also table-bordered doesn't exist anymore, I used table-zebra. well worth spending an hour to spin up on the basics of next, thanks for making this available.
@teokostadinov
@teokostadinov 7 ай бұрын
Ok I am convinced! Subscribing to your YT channel and your courses platform. Finally a tutor that gets to the point with just enough details to understand the concepts being taught. Thank you!
@HeyMr.OO7
@HeyMr.OO7 7 ай бұрын
The background whistle music 🎶 is kinda Nostalgic... has been consistent in most of Mosh's courses. I have 'em all. Brilliant Mentor ⭐🙌🏻⭐
@alkadoHs
@alkadoHs 7 ай бұрын
This guy always give us good stuff😎
@dmitriyb.6201
@dmitriyb.6201 5 ай бұрын
Both this and your react tutorial here on KZbin were great to give an introduction. Thank you
@sirrobinhood3409
@sirrobinhood3409 5 ай бұрын
This was a outstanding tutorial outlining all the relevant operations required to make this framework useful. Nice job making great content. I'll have to stop back for your other course when I get a few more contract gigs. Thanks!
@theophilusgordon
@theophilusgordon 7 ай бұрын
You are doing amazing, Mosh. You are the reason I am who I am today and thank you for another awesome tutorial.
@jesseajioh4111
@jesseajioh4111 7 ай бұрын
My favorite tutor and my favorite framework, I'm totally building this. Thanks Mosh🙇💪
@adulisdevelopers969
@adulisdevelopers969 7 ай бұрын
Hey mosh, I really appreciate your effort and dedication to teach people. I love you technical courses. I would like to see more management videos like the process of planning software before going for development.
@AshAgrawal
@AshAgrawal 7 ай бұрын
Any number of thanks to you is less. There's lot of things you made easier for me. Which ever things I found difficult, watching your stuff clear it out. Well I would really like to learn nextJS following your tutorials but can't afford it right now. Hope you will upload on youtube for all very soon.❤😊
@CodeWithMasood
@CodeWithMasood 7 ай бұрын
Hey mosh! This tutorial taught entire Next.js to us in 1 hour. Want more professional videos like this❤
@saumitra9866
@saumitra9866 6 ай бұрын
Mosh the way you explained Link, server client components with the inspect panel is next level.........hats off man
@Coco-ii2pu
@Coco-ii2pu 23 күн бұрын
I feel like I know it all now. Mosh has that effect. Thank you ❤
@londonguga
@londonguga 7 ай бұрын
Great video, very intuitive and easy to follow! Just a tip on the Tailwind module for those who don't know yet, but in case you find yourself with such long classNames, you could use the @apply function within your own class so the component isn't crowded with classNames. Something like: .select2-dropdown { @apply rounded-b-lg shadow-md px-5 my-5 bg-blue; }
@chinmayghule8272
@chinmayghule8272 7 ай бұрын
Yes, but doing that it becomes more like the traditional CSS.
@arikmosfor4907
@arikmosfor4907 6 ай бұрын
best teacher i have ever seen.i already bought 10 courses and learned so much from mosh. hope to develop skills as mosh.thank you brother
@user-zz3wk2fz3f
@user-zz3wk2fz3f 7 ай бұрын
Amazing tutorial, Mosh! It's incredibly professional and highly practical tutorial. 👌
@alicewest9196
@alicewest9196 7 ай бұрын
Firstly, just want to say thank you for taking the time to create such engaging and thought-out videos. I'm incredibly invested and have a monthly subscription to your tutorials. I thought best to leave a comment on here, as others might want to know. I am eager to get started on the second part of this tutorial, is there a planned date for when its going to be released. I appreciate your tutorial take an extensive amount of planning and time. Just a keen bean here :D
@programmingwithmosh
@programmingwithmosh 7 ай бұрын
Thanks for your interest! Part 2 will be out mid October.
@christoherright6430
@christoherright6430 6 ай бұрын
LOVE LOVE this tutorial. You are a great teacher.
@adam-user
@adam-user 6 ай бұрын
Mosh is the best technical lecturer on the Internet! Thanks man for this great video!
@codewithguillaume
@codewithguillaume 7 ай бұрын
Probably the best tutorial I have seen since a long time! Thanks Mosh
@desuchanz4956
@desuchanz4956 7 ай бұрын
finally the comprehensive nextjs tutorial I've been looking for
@Love_Coding
@Love_Coding 7 ай бұрын
Your teaching skills are just excellent !!
@khalifaomani1242
@khalifaomani1242 7 ай бұрын
Absolutely fantastic tutorial on Next.js 13 with TypeScript! Mosh does an excellent job breaking down complex topics into easily digestible segments. The pacing is perfect for beginners, yet it doesn't shy away from diving into more advanced features. I particularly appreciated the section on data fetching and caching, which are crucial for any full-stack application. This tutorial is a must-watch for anyone looking to get started or level up their Next.js 13 skills.
@2gbeh
@2gbeh 7 ай бұрын
Haven't watched this yet but i know it's gon be 🔥 and exactly the type of clarity i need.
@dawarlatif3832
@dawarlatif3832 3 ай бұрын
no matter wherever i go, just your words sink into my brain, thanks teacher
@mostafaalmahmud
@mostafaalmahmud 6 ай бұрын
This is a really helpful tutorial for nextjs 13 app router fundamentals. My heartfelt gratitude to you Mosh ❤
@laxmikanthgurram1074
@laxmikanthgurram1074 5 ай бұрын
Great video ,I have learnt a lot .Just to help who didn't know , the app explained in the first few minutes of the video is explained in the other video on the channel.
@ashishkumawat6110
@ashishkumawat6110 6 ай бұрын
The SSG and SSR explanation was mind blowing!!!!
@amnashahid9464
@amnashahid9464 7 ай бұрын
Mosh, you always rock, not so lengthy tutorials but covers almost every thing. Lots of respect from Pakistan
@abhisheksunam2887
@abhisheksunam2887 7 күн бұрын
Thank you mosh for this amazing tutorial
@wierdcontents5362
@wierdcontents5362 7 ай бұрын
3 yrs ago you taught me python, an today i still learn from you , Mosh sensei
@n45ko
@n45ko 7 ай бұрын
Thank you Mosh, Your tutorials inspire us to learn more, you are the best ;)
@futurimac
@futurimac Күн бұрын
I love it ❤ thanks Mosh!
@user-de9dg8rs7n
@user-de9dg8rs7n 6 ай бұрын
You're awesome. thanks for popping in me into NextJs 13
@FattahilTanha
@FattahilTanha 7 ай бұрын
thank you mosh...you dont even know my much you helped me... I am a new student hopefully a future dev....i'll remember you always. I've learned a lot from you....and now learning next js....thank you a lot....i wish I could buy the premium next js course....then none can stop me....but unfortunately I cant....but still never gonna giveup...i'll learn next js.....and again thank you a lot sir mosh....respect+++
@Daniel-nb3kk
@Daniel-nb3kk 2 ай бұрын
Probably the best teacher you'll find on the web!
@FG-uk3in
@FG-uk3in 6 ай бұрын
Thanks Mosh. You make programing easy and joyful for me all the time
@mrginn
@mrginn 2 ай бұрын
thank you Mosh. You're an amazing teacher!
@Mohamedsaad-zb2kk
@Mohamedsaad-zb2kk 6 ай бұрын
To be honest.. Your lessons are amazing Mosh.
@rifwann
@rifwann 7 ай бұрын
This is easier than any next tutorial i watched so far.. i also thank you for demonstrating what next/link actually does.. will binge your future nextjs videos.. If i have a topic that i would like to request it would be pwa. Like when opening youtube when offline it still loads.. i want to research how far offlinefirst approach can be pushed to its limit.
@user-if4hy6dv2q
@user-if4hy6dv2q 3 ай бұрын
Very crystal-clear course! Thanks a lot for it.
@hehoist7183
@hehoist7183 7 ай бұрын
I already have some skills in React and typescript. So the teaching rhythm of this course is very suitable for me.
@meekbronsen6668
@meekbronsen6668 7 ай бұрын
Dude, I you Mosh you are a very talented Teacher. And I hope you'll have content for everything. Please do a Non SQL database course
@psychobuddha5379
@psychobuddha5379 6 ай бұрын
Awesome video! I was so confused with different versions and tutorials for NextJS, but this was really simple, understandable and up to point! P.S There is really cool extension for vs code, called auto tag rename, it's useful when changing from div to react fragment or ul to table, without using multiple cursors.
@shahnewazrakib
@shahnewazrakib 7 ай бұрын
I can't believe, yesterday I was thinking of learning Next.js and today I got a video of Next.js uploaded by my best instructor. 😮😮❤
@whitewalker19
@whitewalker19 2 ай бұрын
You are literally a legend mosh..thank you
@Haydenz11
@Haydenz11 3 ай бұрын
It's videos like these that make me question why I went to college. Amazing work!
@tarekali84
@tarekali84 7 ай бұрын
Salam Mosh, I am writing to express my gratitude for the incredible content you provide. Your courses have been instrumental in my coding journey, helping me overcome many challenges and learn new concepts effectively. I'm particularly excited about the back-end course featuring Spring Boot. Could you kindly share if there are any plans to release recorded video lessons for this course in the near future? I'm eagerly looking forward to delving into this topic with your guidance. I wish you the best of luck. Warm Salam, Tarek Ali
@tobix8982
@tobix8982 17 күн бұрын
Thank you! I learnt a lot from this resource!
@harveytong9619
@harveytong9619 7 ай бұрын
No one ever teach somethings that easy, understandable and also in depth!! Mosh really a genius!
@user-ut2cj7li9u
@user-ut2cj7li9u 5 ай бұрын
Thank you Mosh for all you do!
@Meelenych
@Meelenych 3 ай бұрын
Thank you for this tutotrial. Next.JS is cool. Reducing so much pains which we faced in pure React.
@devinhanCoding
@devinhanCoding 3 ай бұрын
Great video for beginners of next.js, thank you!
@Xaviercomment586
@Xaviercomment586 7 ай бұрын
I love you bro! keep sharing! your knowledge to everyone!
@user-rd1uf4oc7h
@user-rd1uf4oc7h 5 ай бұрын
This is only the first hour of his full course. If you are not interested in buying the full course then don't waste your time here like I did. Thanks
@YukiGersaniba
@YukiGersaniba 3 ай бұрын
I didn’t waste my time here
@Dracometeor562
@Dracometeor562 Ай бұрын
nope, even you finish the first hour of the video, of course you will get some useful information, it's not a waste of time dude. what do you expect on the video like this building with cutting edge stack with good application? a free? lol you are cheap dude
@re-fm1et
@re-fm1et 27 күн бұрын
I learn the basic here, much simpler to understand, as for project.. why do you even need to learn to make project from youtube, just build it yourself, you already know the basic
@souravpanja2183
@souravpanja2183 6 ай бұрын
Very nice, I am a MERN developer, now i am learning NEXTJS, this tutorial is very usefull...
@user679jk7
@user679jk7 5 ай бұрын
Thank you for making this fantastic video and the clear explanation!
@centrumsaiyan7623
@centrumsaiyan7623 5 ай бұрын
I am frontend senior. By the time I have completed a project with Next12, the Next13 have already been released and it had major changes to the framework. I had good time binge watching your tutorial to keep up with the latest change in the framework. I would consider getting the full course by the end of this video.
@Sammy2100
@Sammy2100 7 ай бұрын
Looking forward to this.
@SimelCoding
@SimelCoding Ай бұрын
This is Amazing man even though I can't afford the course, I can now use the docs Thanks Mosh
@ashimov1970
@ashimov1970 7 ай бұрын
Wow! The best Nextjs tutorial I've ever come across
@behroozbk
@behroozbk 3 ай бұрын
Great job! Thanks Mosh!
@mfarnell
@mfarnell 5 ай бұрын
"beautiful" I love the commentary throughout your videos.
@Techwith-Cj
@Techwith-Cj 7 ай бұрын
Thanks mosh for your effort, i just want to ask you when you are going to make the video about the specific backend skills to have just like you did on the frontend❤
@shafinshaikh1602
@shafinshaikh1602 3 ай бұрын
Great tutorial to understand the fundamentals of NextJS and it's advantages over normal Reactjs
@jd_27
@jd_27 6 ай бұрын
Really enjoyed this tutorial, thanks!
@chandlerbing2749
@chandlerbing2749 7 ай бұрын
你比很多老师讲的更精炼,更容易上手。非常感谢!
@faisalmominbhiwandi
@faisalmominbhiwandi 7 ай бұрын
My favorite instructor ❤️
@UniqueEdit243
@UniqueEdit243 7 ай бұрын
Thank sir, for being an extraordinary teacher and mentor in the programming world. I eagerly look forward to the opportunity of learning from you again in the future. I want to express my deepest gratitude to you for the incredible impact you've had on my life through your courses. Before I had the privilege of learning from you, I was truly lost. Your teachings have been a guiding light that helped me find direction, purpose, and a newfound passion for learning. Your dedication, knowledge, and teaching style are unparalleled, making you the greatest teacher I've ever had the honor of learning from. I can confidently say that your courses have not only enriched my knowledge but also transformed me as a person. I humbly request you to consider creating more programming courses in the future. Your unique ability to inspire and educate is a gift that should be shared with the world. I have no doubt that your future courses will continue to change lives just as you've changed mine. Thank you, 3000😂
@pulseofamerica
@pulseofamerica 6 ай бұрын
Tf are these chatgpt comments
@byteolu
@byteolu 7 ай бұрын
Needed this! Relaunching in 5 Hours!
@malachibergman902
@malachibergman902 18 күн бұрын
I have not watched this whole video quite yet. I always go searching youtube for good videos to help me. I have found several good channels, including yours. There is something about how you structure your videos, your visuals, and most importantly your personality in a process that is very difficult and stressful for someone who is desperately trying to quickly learn.
@muhammadmudassar3520
@muhammadmudassar3520 7 ай бұрын
I have watched this full course. This course is amazinggggggggggg, We hope to get the remaining part of this course on KZbin soon,, Really appreciate this effort.
@programmingwithmosh
@programmingwithmosh 7 ай бұрын
Thank you! I’m taking a short break and then start recording part 2.
@muhammadmudassar3520
@muhammadmudassar3520 7 ай бұрын
I'm excited and waiting to see the part 2...
@LilacsLittleOven
@LilacsLittleOven 2 ай бұрын
Thank You for the tutorial.
@mythm2063
@mythm2063 7 ай бұрын
amazing sir, all confusion's gone, thank you so much, may god bless you
@saqibullah7286
@saqibullah7286 7 ай бұрын
Beautiful explanation. I would highly recommend to beginners to watch this video must once.
@ahmedabbas8774
@ahmedabbas8774 7 ай бұрын
Very Excited 😃.
@raymondaxyz
@raymondaxyz 7 ай бұрын
Just lovely.. A designer here, appreciating all the hardwork developers put in to create magic 🪄 Thanks Mosh for such a great course.. still on your JavaScript course, will definitely get this too.
@mr.chapii5787
@mr.chapii5787 7 ай бұрын
Not everyone will teach but you are best in it.
@edunjobiemmanuel4200
@edunjobiemmanuel4200 7 ай бұрын
I kinda need this fr.. Thanks Mosh!
@kaleb823
@kaleb823 7 ай бұрын
This is the best next js as a beginner course thank you mosh🎉🎉
@skankhunt-ef3vw
@skankhunt-ef3vw 4 ай бұрын
great tutorial, teaches the most important stuff instead of 5 chapters of the same thing but slightly different
@afrosoul4eva
@afrosoul4eva 6 ай бұрын
You are the best. That is why I got your course
@merabetzakaria2736
@merabetzakaria2736 7 ай бұрын
You are a legend, thank you my teacher 😊
@gime1945
@gime1945 7 ай бұрын
Mosh, you're the absolute best 😊
React Tutorial for Beginners
1:20:04
Programming with Mosh
Рет қаралды 2,3 МЛН
TypeScript Tutorial for Beginners
1:04:28
Programming with Mosh
Рет қаралды 1,1 МЛН
白天使和小丑帮助黑天使。#天使 #超人不会飞 #超人夫妇
00:42
请善待你的娃娃第二集 #naruto  #cosplay  #shorts
00:52
佐助与鸣人
Рет қаралды 23 МЛН
БРАВЛЕРЫ ОТОМСТИЛИ МАТЕРИ😬#shorts
00:26
Спаси её волосы🙏🏻
00:40
БРУНО
Рет қаралды 1,8 МЛН
10 common mistakes with the Next.js App Router
20:37
Vercel
Рет қаралды 159 М.
NextJS Tutorial - All 12 Concepts You Need to Know
44:38
ByteGrad
Рет қаралды 197 М.
Next.js App Router: Routing, Data Fetching, Caching
14:32
Vercel
Рет қаралды 278 М.
Top Programming Languages to Learn in 2024 (For High-paying Jobs)
5:32
Programming with Mosh
Рет қаралды 146 М.
Node.js Tutorial for Beginners: Learn Node in 1 Hour
1:18:16
Programming with Mosh
Рет қаралды 6 МЛН
Is Coding Still Worth Learning in 2024?
9:33
Programming with Mosh
Рет қаралды 117 М.
白天使和小丑帮助黑天使。#天使 #超人不会飞 #超人夫妇
00:42