NextJS Course For Beginners - Routes, Fetching, SSR, SSG...

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 มิ.ย. 2024
  • NEXTJS FULL BEGINNER COURSE. In this video I will go over the basics of nextjs for beginners.
    Code: github.com/machadop1407/nextj...
    Join our Discord: / discord
    🚀 Learn ReactJS By Building 6 Projects: codedamn.com/learn/reactjs-pr...
    🐙 GraphQL Course: codedamn.com/learn/graphql-fo...
    ► Buy Crypto on Coinbase: coinbase-consumer.sjv.io/PedroTech
    Social
    ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
    Website: machadopedro.com
    Linkedin: / machadop1407
    Instagram: / _pedro.machado_
    Github: github.com/machadop1407
    Business Email: pedro@pedrotech.co
    Tags:
    - ReactJS Tutorial
    - ReactJS and MySQL
    - NodeJS Tutorial
    - API Tutorial
    TimeStamps
    -
    00:00 - Intro
    05:08 - Setup and Folder Structure
    13:16 - Routes, Dynamic Routes, Link
    22:40 - Head Component
    24:46 - Navbar and CSS Module
    35:20 - 404 Error Page
    38:16 - API Requests with GetServerSideProps, GetStaticProps
    -
    #nextjs #coding
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 144

  • @elanastrijbis2417
    @elanastrijbis2417 ปีที่แล้ว +12

    This has been one of the best tutorials I've watched, very clear and not too long either

  • @phyf3
    @phyf3 2 ปีที่แล้ว

    Perfect timing
    I always specifically look for videos from you when I'm trying to learn something in the web space. You're amazing. Thank you!

  • @wallace_lw
    @wallace_lw 2 ปีที่แล้ว +2

    Melhor timing impossível kkkkkkkkkk, ótimo trabalho, Pedro!

  • @paimcfly4800
    @paimcfly4800 2 ปีที่แล้ว +3

    Luving it! Always love a good refresher, there’s always something new to learn. 👍🏻

  • @marcofernandez8428
    @marcofernandez8428 ปีที่แล้ว +1

    Thank you for this Pedro. I'd love to see more on NextJS, especially displaying "real time" data on screen without interaction (clicks/refreshes).

  • @clipsCutsx
    @clipsCutsx 2 ปีที่แล้ว +3

    começo com o like, depois vejo o video, conteúdo sempre nota 10 Pedro

  • @renecaceres3925
    @renecaceres3925 2 ปีที่แล้ว +1

    Pedro I just wanna say that I LOVE your channel, I've learned a lot thank you 🙏🏼

  • @pithubiswas253
    @pithubiswas253 ปีที่แล้ว +1

    Awesome video pedro. Looking forward to the next part of it

  • @mnk7756
    @mnk7756 ปีที่แล้ว +1

    Great tutorial. You're going places man.

  • @johnpaulpineda2476
    @johnpaulpineda2476 2 ปีที่แล้ว +30

    Well to be honest i just started learning NextJS.
    Thank you so much for this Pedro!

  • @thoseeyes0
    @thoseeyes0 ปีที่แล้ว

    I wish I could like this video more than once. Cool stuff man. Thank you for your effort. You just got yourself a loyal subscriber.

  • @seanfang398
    @seanfang398 ปีที่แล้ว

    Thank you Pedro for making this Nextjs video!!! I have been working with reactjs for quite some time, and that SEO issue really bothered me from time to time. So I recently started learning Nextjs, and this is a very nice beginner tutorial, really appreciate it! And I will be more grateful if you could make more videos about Nextjs❤

  • @madhuriyadav1489
    @madhuriyadav1489 ปีที่แล้ว

    Hey! You are my life savior man, I am working on next js project which is totally new for me, well not totally cause I know react js but it is new, and guess what!!!!! got your video by luck. Literally you explained the things so well, really easy to catch it.
    It will be great help if you can explain more about next js in you next video. Looking forward to it.

  • @deveshb793
    @deveshb793 ปีที่แล้ว

    Loved the tut mate, a tut on next with typescript would be amazing, love learning from you!

  • @sethheinzman5823
    @sethheinzman5823 ปีที่แล้ว +18

    I’ve already learned react and typescript so I’m ready for that next step! That next js step 😉

  • @chuksvalentine3735
    @chuksvalentine3735 ปีที่แล้ว +3

    Really explained Nextjs better than other videos. I so much love your content, you are doing a great job. Can you do complete app(frontend using Nextjs and a CSS franework and backbend using Express)

  • @0xredpill
    @0xredpill 2 ปีที่แล้ว +2

    From South Africa I give big thanks Pedro ❣🔥

  • @romanjelinek7517
    @romanjelinek7517 2 ปีที่แล้ว +1

    Thank you so much Pedro. Please, keep making NextJS videos.

  • @andybanua2229
    @andybanua2229 2 ปีที่แล้ว

    love your vids bro, definitely one of the most underrated software development channels out there. can you do a vid about design patterns?

  • @AntNZ
    @AntNZ 2 ปีที่แล้ว

    Keep em coming man - this content is gold! Please follow up with a video on how to use next with firebase api

  • @Drama-ck2tp
    @Drama-ck2tp 2 ปีที่แล้ว

    i like the video man! hopefully we get more next videos from you!

  • @dekaynine6347
    @dekaynine6347 2 ปีที่แล้ว +1

    Hey, thank you for making this video, I appreciate it!

  • @paulofernandoee
    @paulofernandoee ปีที่แล้ว

    Great video, thanks Pedro! 👏

  • @fnleonhardt
    @fnleonhardt ปีที่แล้ว

    Greate video, clear and simple! loved it!

  • @SvetaSveta-ms4hi
    @SvetaSveta-ms4hi 2 ปีที่แล้ว

    Thanks a bunch! It helped me to brush up on my Next.js knowledge 🙌

  • @FatProgrammer
    @FatProgrammer ปีที่แล้ว

    great as always pedro!

  • @furqanhussain2625
    @furqanhussain2625 ปีที่แล้ว +1

    excellent video. I really appreciate if you continue the nextjs videos

  • @arcosd63
    @arcosd63 ปีที่แล้ว

    Really cool Pedro, thanks a lot for this class.

  • @waqasatta4077
    @waqasatta4077 2 ปีที่แล้ว

    Great Content as Ever...I am loving it specially related to MERN Stack...Keep it up and Thanks for such wonderfull stuff.

  • @brownboyintokyo7368
    @brownboyintokyo7368 ปีที่แล้ว

    Great refresher! Thanks man

  • @cosanostraytc1030
    @cosanostraytc1030 ปีที่แล้ว

    Great tutorial man. Keep it up!!!

  • @Ben-fc4tz
    @Ben-fc4tz 2 ปีที่แล้ว

    Please make a part 2, this was great!

  • @jeff1571
    @jeff1571 2 ปีที่แล้ว +1

    This is big. Thanks Pedro

  • @PixelLoafLatte
    @PixelLoafLatte ปีที่แล้ว

    thanks for the beginner course, waiting for another nextjs tutorial, especially about Hooks

  • @fixitman5453
    @fixitman5453 ปีที่แล้ว

    Great tutorial! I read the docs on the website and this really helped me understand better. I've also been looking at Next-auth. Can you maybe do a video on that some time?

  • @rodrigobarreto8239
    @rodrigobarreto8239 2 ปีที่แล้ว +1

    Great video, keep up the good work and more NextJS please

  • @TheyCallMeFelix
    @TheyCallMeFelix ปีที่แล้ว

    Pedro seriously, man, keep making videos! You explain things very well!
    Does firebase auth work the same way as react?

  • @Alex-vg1up
    @Alex-vg1up ปีที่แล้ว

    amazing video, i learned so much! thank you!

  • @carlosocampo95
    @carlosocampo95 ปีที่แล้ว

    Love your videos and, as always, this one was also 🔥 thanks Pedro!
    A quick comment, I'm getting ads every 4-5 minutes, which didn't use to happen before on any of your videos. Maybe you changed a configuration or something, but it felt like way too many ads.

  • @adebanjioluwatoni3212
    @adebanjioluwatoni3212 7 หลายเดือนก่อน

    You've been very helpful to my learning journey. I'm grateful ✊

  • @lifeisbeautifu1
    @lifeisbeautifu1 ปีที่แล้ว

    Amazing. Thank you! 🔥🔥🔥

  • @jingli9232
    @jingli9232 ปีที่แล้ว

    need more courses for next, very impressive!

  • @learninternetwithkelly8338
    @learninternetwithkelly8338 ปีที่แล้ว

    The following day I started learning Nextjs I received notification on your crash course on Nextjs you are literally on my mind. Pls I would like your next video to be how to implement login and registration system with next J's, express and mongodb and if you can also include password recovery system

  • @marcoshernandez4025
    @marcoshernandez4025 2 ปีที่แล้ว

    Thank you! for making a very helpful introductory video on NextJS! I will be trying to replicate your application also to learn a bit about algorithms and have something when applying to jobs. Do you recommend other specific projects that could be helpful when applying to jobs in the future?

  • @barayiti
    @barayiti ปีที่แล้ว

    Thanks for this awesome tutorial man. So much love from South Africa🤝. I would much appreciate it if you would make another Nextjs tutorial that uses persistent state management such as Redux, although my current favourite is Zustand🤓.

  • @samuelngene6513
    @samuelngene6513 2 ปีที่แล้ว +2

    This video is amazing. Could you please do a beginner video for NODE JS

  • @craiggazimbi
    @craiggazimbi 2 ปีที่แล้ว +1

    Thanks man, i believe this one will be good , just as your other content , thank you mate. You the man!!!!!!!

    • @PedroTechnologies
      @PedroTechnologies  2 ปีที่แล้ว +1

      I hope it is! I plan on making more nextjs content in the future too!

    • @craiggazimbi
      @craiggazimbi 2 ปีที่แล้ว

      @@PedroTechnologies Amazing , I look forward to it.

  • @CaliburPANDAs
    @CaliburPANDAs ปีที่แล้ว +1

    basically functions as an anchor tag in Next?

  • @psydook
    @psydook 2 ปีที่แล้ว

    Amazingg

  • @KyleKatarn145
    @KyleKatarn145 2 ปีที่แล้ว +13

    I'd love to see how interacting with the backend through your own API works with Next, as well as database interaction just to see how that all changes.
    Another thing I'd love to see is you taking us through how to build that sorting algorithm app. Doesn't have to be for all the algorithms, I'm sure the bulk of us can figure the rest out if you just do it for the bubble sort or something, it just seems like a fun project.

    • @vapeurdepisse
      @vapeurdepisse ปีที่แล้ว +3

      Yes that was definitely missing from this. It's a major point of the platform and an advantage over plain React. SEO is not the only thing. For many apps (as opposed to websites), SEO is not important.

  • @leoemrys5751
    @leoemrys5751 ปีที่แล้ว

    Thank you, bro. Your videos are simple and straight forwards with sample usage.

  • @bharathraj3333
    @bharathraj3333 ปีที่แล้ว

    wow liked the way you explaining..

  • @arijackson6090
    @arijackson6090 ปีที่แล้ว

    "The future of React" was spot on with React introducing Server-side components

  • @ThColinPereira
    @ThColinPereira 2 ปีที่แล้ว +1

    Super helpful!

  • @Fantino502
    @Fantino502 ปีที่แล้ว +1

    Sanctae Urbis Romae! What was I doing in my life that I didn't know Next.js??? Great video!

  • @aliandy.jf.nababan
    @aliandy.jf.nababan ปีที่แล้ว

    Like this video, easy to understand.

  • @ssk7690
    @ssk7690 ปีที่แล้ว +1

    Correct me if I am wrong, Next JS uses SSR with Hydration, which is a combination of SSR in the beginning for better SEO followed by CSR later for better caching and user interactivity.

  • @rohan-sorkar
    @rohan-sorkar 2 ปีที่แล้ว +2

    well explained 😊

  • @abhaytiwari6411
    @abhaytiwari6411 2 ปีที่แล้ว +1

    Thank you so much pedro😃😃

  • @SusanWinters
    @SusanWinters ปีที่แล้ว +1

    Great video. I stayed away from REACT JS because SEO is very important for my job. Now that NextJS seems to provide a way to include SEO element, I'm going to start looking ino this.

  • @syahrilasidiq4170
    @syahrilasidiq4170 ปีที่แล้ว

    waiting for your next video 🔥🔥🔥

  • @tech3425
    @tech3425 ปีที่แล้ว

    That intro music always gives me goosebumps 4:50 😎

  • @flaviojunior371
    @flaviojunior371 2 ปีที่แล้ว +2

    Pedro é foda!!!!

  • @mr.daniish
    @mr.daniish 2 ปีที่แล้ว

    Pedro is the king!

  • @AhmedRiadM
    @AhmedRiadM 2 ปีที่แล้ว

    Great video.
    How do you set up your terminal for auto competition?

  • @asaventurasderobson
    @asaventurasderobson 2 ปีที่แล้ว +1

    Maaaaaan, I just started working with Next in a Start up. This is really handy.

    • @PedroTechnologies
      @PedroTechnologies  2 ปีที่แล้ว +1

      Glad I could help!

    • @asaventurasderobson
      @asaventurasderobson 2 ปีที่แล้ว

      @@PedroTechnologies Você é brasileiro Pedro? Seus tutoriais são muito bons.

  • @levyroth
    @levyroth 2 ปีที่แล้ว +1

    I'm literally your fangirl :))) Great tutorial! I tried NextJS last year and got as far, but it felt really confusing overall. Couldn't get MaterialUI to integrate right. I gave up for lack of time with that project and just used ReactJS.

    • @PedroTechnologies
      @PedroTechnologies  2 ปีที่แล้ว

      Hahaha i appreciate the support! Hope you like the video

    • @lardosian
      @lardosian ปีที่แล้ว

      Material UI offers a repo with Next JS configured so you should be good to start from there...or it might be the other way round, you know what I mean, hope that helps, Material UI is very nice!

  • @tomaszdomagalski7221
    @tomaszdomagalski7221 ปีที่แล้ว

    Great material !! You're the best #PedroTech. We are w8 for more about Next.js. See you later

  • @RO5AN
    @RO5AN 2 ปีที่แล้ว +2

    More NextJS please :)

  • @dadaodunayo395
    @dadaodunayo395 ปีที่แล้ว

    Great video. Pedro make a video about route protection in next

  • @sonamohialdin3376
    @sonamohialdin3376 2 ปีที่แล้ว

    Awesome tutorial about next

  • @Kennomie
    @Kennomie ปีที่แล้ว

    Great video, would be great if you can create videos for advanced topics in next JS like authentication, thanks.

  • @8koi139
    @8koi139 2 ปีที่แล้ว +1

    your random spaces after > are killing me, godly tutorial tho

  • @hardwired89
    @hardwired89 2 ปีที่แล้ว +1

    waww next js ❤️

  • @zachfenton608
    @zachfenton608 2 ปีที่แล้ว

    Such an awesome tutorial. You forgot to make a link in the nave for the coins. I just implemented it with some css.

  • @davidofug
    @davidofug ปีที่แล้ว

    I have indeed enjoyed this video. I can't be grateful enough.
    How would we implement a separate Layout for logged in users.

  • @kirakira160
    @kirakira160 2 ปีที่แล้ว +1

    pedro is my best teacher

  • @yashiel
    @yashiel ปีที่แล้ว +1

    Small question, do we have to use "styles" name each time we import CSS file. Why can't we use something else like, for example page specific name.

  • @jingli9232
    @jingli9232 ปีที่แล้ว

    thanks for your tutorial, very well explained ,a quick question about .links a { , why not just use .links to set up margin-left?

  • @Marcus369
    @Marcus369 ปีที่แล้ว +1

    humm, pls keep going bro

  • @toiageddes1710
    @toiageddes1710 ปีที่แล้ว

    Pedro, I really liked this video. Could you please add another video using typescript with next please ? that would be really helpfull :)

  • @Nanashi-rq7lk
    @Nanashi-rq7lk 10 หลายเดือนก่อน

    Perfect turtorial

  • @jennysquesttowellness
    @jennysquesttowellness ปีที่แล้ว

    Pedro. Thanks. Can you make more of nextjs please? Talk about apis and also node.

  • @michaelzhao485
    @michaelzhao485 ปีที่แล้ว

    Hi, Pedro. It is great course. Could you give us more course about NextJS

  • @rangabharath4253
    @rangabharath4253 ปีที่แล้ว

    Awesome 🙂

  • @ronemchowry180
    @ronemchowry180 ปีที่แล้ว

    If we are using static props what if the API data changes after we build the application does it change or fetch the new data from the API or does it still uses the old version of data which was present at the build time

  • @albertussindhu3909
    @albertussindhu3909 2 ปีที่แล้ว

    nice dude.. hey how to show snippert for npx in your terminal?

  • @kabagambedaniel2468
    @kabagambedaniel2468 2 ปีที่แล้ว

    let me hope it will be as good as the other ones

  • @sunnymishra6500
    @sunnymishra6500 ปีที่แล้ว

    Hey Pedro
    I have a question
    as ssr code first runs on server than the generated html is sent to browser
    so do we have to have a backend running all the time for running the next code on server

  • @willyhorizont8672
    @willyhorizont8672 2 ปีที่แล้ว +1

    Wow thank you

  • @GabrielMartinez-ez9ue
    @GabrielMartinez-ez9ue ปีที่แล้ว

    This is a long shot, but you should make another more advanced nextjs tutorial.

  • @adimishra3046
    @adimishra3046 2 ปีที่แล้ว +2

    Thanks for the video!!! 🔥🔥
    Bro don't you think you should start DSA course??

  • @jignesh31019955
    @jignesh31019955 2 ปีที่แล้ว

    Hey @pedro can you make a video on creating a dynamic XML sitemap using React

  • @MrAtomUniverse
    @MrAtomUniverse ปีที่แล้ว

    Can I setup a website with a million static pages ? Or can I use some non static rendering based concept because I heard it’s not meant for large pages rendering

  • @mahammadmansurali1099
    @mahammadmansurali1099 2 ปีที่แล้ว

    Thanks a lot ❤ and also make video on nextjs with pure redux not redux-tool-kit

  • @igaimerca
    @igaimerca 2 ปีที่แล้ว +2

    pls help people boost their DSA skills. Anways, thanks for the course :)

    • @PedroTechnologies
      @PedroTechnologies  2 ปีที่แล้ว +1

      Ive made DSA vids on the past, I might make more. But I feel like most of my audience is more into React, I will try making a DSA video though

    • @igaimerca
      @igaimerca 2 ปีที่แล้ว

      @@PedroTechnologies Great work man! React is so cool and I like it as It makes me eat but realised that we need to boost our DSA skills if we want to get far and also it will become more easy to learn newest coming frameworks and libraries like React. You are our life saver. So, I guess you will plan that for us :)

  • @SeaRich
    @SeaRich 2 ปีที่แล้ว

    Except framer-motion, any clue to create page transitions?

  • @asrafulislam8948
    @asrafulislam8948 ปีที่แล้ว +1

    can we get a video on you'r react sort visualizer?

  • @sulemanmughal5397
    @sulemanmughal5397 ปีที่แล้ว

    brilliant

  • @LesFPinter
    @LesFPinter ปีที่แล้ว

    Olá Pedro: how do I deploy my Next js app to my URL at my ISP? All I’ve seen is Vercel deployment. Obrigado in advance…