Next js Tutorial for Beginners | Nextjs 13 (App Router) with TypeScript
Вставка
- Опубліковано 14 тра 2024
- 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
- UA-cam 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
- Want to learn more? Get my complete Next.js series: bit.ly/nextjs-series
- Subscribe for more videos like this: goo.gl/6PYaGF
Thank
Broken link for 'complete Next.js series'?
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.
when will next part will come this videos
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!
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.
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.
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!
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
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!
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 😊
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.
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
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 UA-cam 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
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!
I simply love your tutorials! I started to use Next recently and you really helps me to get the base!
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
hey bhai is this a new version of javascript?
@@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.
@@_ash64 thanks ash
Please never stop doing these videos! Your content is invaluable to us plebs. Such great teaching and course materials.
This guy always give us good stuff😎
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.
The background whistle music 🎶 is kinda Nostalgic... has been consistent in most of Mosh's courses. I have 'em all. Brilliant Mentor ⭐🙌🏻⭐
The part that explains static and dynamic rendering is very clear! thank you so much
Probably the best tutorial I have seen since a long time! Thanks Mosh
Both this and your react tutorial here on UA-cam were great to give an introduction. Thank you
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
No one ever teach somethings that easy, understandable and also in depth!! Mosh really a genius!
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!
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;
}
Yes, but doing that it becomes more like the traditional CSS.
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!
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.
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.
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.
I feel like I know it all now. Mosh has that effect. Thank you ❤
My favorite tutor and my favorite framework, I'm totally building this. Thanks Mosh🙇💪
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.❤😊
You are doing amazing, Mosh. You are the reason I am who I am today and thank you for another awesome tutorial.
Mosh the way you explained Link, server client components with the inspect panel is next level.........hats off man
Hey mosh! This tutorial taught entire Next.js to us in 1 hour. Want more professional videos like this❤
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.
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
I didn’t waste my time here
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
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
npm cache clean --force
npm cache verify
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
Thanks for your interest! Part 2 will be out mid October.
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+++
finally the comprehensive nextjs tutorial I've been looking for
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.
This is a really helpful tutorial for nextjs 13 app router fundamentals. My heartfelt gratitude to you Mosh ❤
Mosh, you always rock, not so lengthy tutorials but covers almost every thing. Lots of respect from Pakistan
Haven't watched this yet but i know it's gon be 🔥 and exactly the type of clarity i need.
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.
no matter wherever i go, just your words sink into my brain, thanks teacher
Amazing tutorial, Mosh! It's incredibly professional and highly practical tutorial. 👌
Your teaching skills are just excellent !!
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😂
Tf are these chatgpt comments
This is Amazing man even though I can't afford the course, I can now use the docs
Thanks Mosh
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❤
3 yrs ago you taught me python, an today i still learn from you , Mosh sensei
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.
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
Thank you for this tutotrial. Next.JS is cool. Reducing so much pains which we faced in pure React.
Mosh is the best technical lecturer on the Internet! Thanks man for this great video!
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.
Very nice, I am a MERN developer, now i am learning NEXTJS, this tutorial is very usefull...
Thank you Mosh, Your tutorials inspire us to learn more, you are the best ;)
This video has convinced me to subscribe to this channel. Pretty good work.
The SSG and SSR explanation was mind blowing!!!!
It's videos like these that make me question why I went to college. Amazing work!
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. 😮😮❤
LOVE LOVE this tutorial. You are a great teacher.
I already have some skills in React and typescript. So the teaching rhythm of this course is very suitable for me.
Thanks Mosh. You make programing easy and joyful for me all the time
Thank you mosh for this amazing tutorial
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
I love it ❤ thanks Mosh!
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.
Very crystal-clear course! Thanks a lot for it.
amazing sir, all confusion's gone, thank you so much, may god bless you
Great tutorial to understand the fundamentals of NextJS and it's advantages over normal Reactjs
great tutorial, teaches the most important stuff instead of 5 chapters of the same thing but slightly different
To be honest.. Your lessons are amazing Mosh.
Wow! The best Nextjs tutorial I've ever come across
Thank you! I learnt a lot from this resource!
You are literally a legend mosh..thank you
Hi Sir, Which tool you use to make videos, I really admire your editing, your teaching style.
Thank you for such teaching skills and sharing your knowledge with us . what is better ? consume client browser resources or server resources ? i believe consuming client resources is a better option in order to save server resources for handling all requests and do more complicated operations .
Hey mosh !
Before I buy the complete course, I wanted to ask if it contains concepts like Route Groups, Parallel Routing, Streaming with suspense, etc. ?
thank you Mosh. You're an amazing teacher!
This is the best next js as a beginner course thank you mosh🎉🎉
oh my god, you are a beautiful creature ❤ i was really confused and stuck because in the development it works without static and other way in build. Thank you for clearing that, i lost hope searching the internet. Thought next js was weird.
Probably the best teacher you'll find on the web!
Thank you for making this fantastic video and the clear explanation!
I’ve bought the react course. It’s awesome. @mosh will there be a langchain + chatgpt course in the near future ?
Mans looks great and healthy. Glad to see it.
Great video for beginners of next.js, thank you!
Thank you Mosh for all you do!
Love your tutorials and pay for the life time access, but I really wish we could get an updated dotnet course
thank you so much mosh excellent tutorial, I wanna ask you what is the name of the icon theme you use?
I kinda need this fr.. Thanks Mosh!
I have watched this full course. This course is amazinggggggggggg, We hope to get the remaining part of this course on UA-cam soon,, Really appreciate this effort.
Thank you! I’m taking a short break and then start recording part 2.
I'm excited and waiting to see the part 2...
Amazing Amazing.
Mosh..... You are awesome ❤ you have the coding anointing to make it simpler understandable.
I'm lover of Django but I'm Soo amazed how easy and simpler routing and navigation. I'm gonna master this in no time
Hi Mosh !. Im just loving your new look in this video. Couldnt wait to see your latest form and Id your smile is stunning
Beautiful explanation. I would highly recommend to beginners to watch this video must once.
Not everyone will teach but you are best in it.
Looking forward to this.
你比很多老师讲的更精炼,更容易上手。非常感谢!
Great job! Thanks Mosh!