Your first full-stack Next.js project (Server Components, Server Actions, Suspense, Kinde)

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 ธ.ค. 2024

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

  • @ByteGrad
    @ByteGrad  7 หลายเดือนก่อน +9

    Hi, my latest course is out now (Professional React & Next.js): bytegrad.com/courses/professional-react-nextjs -- I'm very proud of this course, my best work!
    I'm also a brand ambassador for Kinde (paid sponsorship).
    👉 Check out Kinde for authentication and more bit.ly/3QOe1Bh

    • @bennetukoh3506
      @bennetukoh3506 6 หลายเดือนก่อน +1

      My salary for last month will definitely go for this course once I get paid. I am convinced beyond doubt that this is all I needed to break into tech.

    • @codewithegai
      @codewithegai 2 หลายเดือนก่อน

      ​@@bennetukoh3506 Oga small small oo, salary ke

  • @TenzDelek
    @TenzDelek 5 หลายเดือนก่อน +5

    half way through and have to admit, it is one of the best nextjs course. maybe it due to the fact I have previous small knowledge of it but this guy right here clear up all the doubts in just 2 hrs.. never forgetting server action and server components from now on haha

  • @bennetukoh3506
    @bennetukoh3506 6 หลายเดือนก่อน +5

    For the first time i really have a sense of how things fit in from start to finish. Still saving to enroll to your course. Thanks for all you do, ByteGrad. Much Love!

  • @Ithamir
    @Ithamir 5 หลายเดือนก่อน +1

    This was an amazing tutorial to follow. Clear and concise explanations without handwaving. Explaining everything, including things that are out of scope for this project but need to be in a more advanced settings. I hope this channel grows and we get more amazing videos like this one.
    Also, if you'd put your Next.js and React course on Udemy, I would've bought it in an instant

  • @abirdutta1357
    @abirdutta1357 5 หลายเดือนก่อน +1

    Vast amount of knowledge in much lesser time. Thanks and hoping for more of this type of videos.

  • @memories24363
    @memories24363 7 หลายเดือนก่อน +6

    If you want to master nextjs fundamentals, Bytegrad is the best tutor. You will learn it within a month. Big up Byte💪

  • @mememihnea
    @mememihnea 7 หลายเดือนก่อน +2

    This is just a great tutorial for a next.js beginner or intermediate developer.
    You are explaining in simple terms the most important concepts while also giving examples on how to achieve certain things in a more efficient or cleaner way.
    Thanks for this!

  • @kashmirtechtv2948
    @kashmirtechtv2948 6 หลายเดือนก่อน +1

    have completely watched this tut.100% recommended..........kindly post more videos like this.....we want you as our sole teacher to become an expert in NEXT JS. thanks

  • @enn_nj
    @enn_nj 7 หลายเดือนก่อน +15

    I am from Indonesia, and i love all off your video, thank you so much 👍🏻 my dream is to be the best developer like you😅

    • @simonpetrus3089
      @simonpetrus3089 7 หลายเดือนก่อน +1

      Saya juga dari Indonesia.. video2 Bytegrad emang the best lah

    • @theeshi1
      @theeshi1 7 หลายเดือนก่อน +1

      You will bro keep learning.
      ❤ from Sri Lanka

  • @desmondcoffie65
    @desmondcoffie65 6 หลายเดือนก่อน +1

    awesome, just awesome. I went through the documentation and a few articles but it did not really click for me and I found this video which has just detailed everything. Greate job done

  • @MattElisa97
    @MattElisa97 5 หลายเดือนก่อน +1

    Thank you for this course. Everything is very clear. I had a hard time understanding server actions but now with simple examples everything is better.

  • @De_Mysteriis
    @De_Mysteriis 6 หลายเดือนก่อน +1

    This video was so clear and focused it really gave me a lot of confidence to dive into Next JS. Much thanks 👊🏻

  • @frankdambra
    @frankdambra 3 หลายเดือนก่อน +1

    Congratulations on being probably the most concise NextJs Teacher on youTube. I have used the framework multiple times and you just revealed to me some more efficient way of doing things. I have a request: Could you do a video on using Stripe webhooks, or webhooks generally in NextJS? In my case I have an application where a data commit to the database is what is purchased by the user (an event listing). The problem is that the data is committed to the database before the user completes checkout in the Stripe session. I need a webhook to determine that the transaction has finalized and then only at that point make the POST request for their listing. Could you please make a short video on this????

  • @mayenstudios3955
    @mayenstudios3955 6 หลายเดือนก่อน +1

    Thanks for all your quallity content :)

  • @404-not-found-service
    @404-not-found-service 7 หลายเดือนก่อน +3

    I like how interesting your material is, a hug and keep it up!

  • @edgar.espinoza
    @edgar.espinoza 6 หลายเดือนก่อน +1

    Great tutorial! Thank you... You have a talent for teaching. Keep up the great work!

  • @ygvanz
    @ygvanz 7 หลายเดือนก่อน +1

    Just started to learn Next and this came up. Appreciate it!

  • @izureki
    @izureki 3 หลายเดือนก่อน +1

    u are literally incredible

  • @adiancuevasmartinez717
    @adiancuevasmartinez717 6 หลายเดือนก่อน +1

    you help me a lot with this video man. thank you. the best 2h learning next.js. it's just excellent💯

  • @alexandersmotrikov9007
    @alexandersmotrikov9007 7 หลายเดือนก่อน +1

    Thanks, Wesley! another great video.

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

    Finally my doubts regarding server components and server actions are cleared.
    Thank you ❤️

  • @cant_sleeeep
    @cant_sleeeep 2 หลายเดือนก่อน

    there is a 'container' class in tailwind so you don't have to create a separate container component and give max width to it. container class automatically does this

  • @suhaybahmed3813
    @suhaybahmed3813 5 หลายเดือนก่อน +1

    Really good tutorial, thank you

  • @MrValVet
    @MrValVet 6 หลายเดือนก่อน +1

    Great tutorial, thank you!

  • @DctimeR
    @DctimeR 6 หลายเดือนก่อน +1

    Awesome work :)

  • @danielflutter8787
    @danielflutter8787 3 หลายเดือนก่อน +1

    thank you man, this really helped me

  • @lukemontana9792
    @lukemontana9792 3 หลายเดือนก่อน +1

    great tutorial

  • @vdamjanovic
    @vdamjanovic 3 หลายเดือนก่อน +1

    Hi ByteGrad, this is an amazing tutorial. I'm wondering if the video announced at 1:58:56 - how to deal with local and production databases - is already out? Do you have any reference material about safe transition between production and development, and vice versa? Thank you in advance.

  • @Deus-lo-Vuilt
    @Deus-lo-Vuilt 2 หลายเดือนก่อน +1

    Gracias , estos proyectos con Next estan entretenidos

  • @mboe94
    @mboe94 5 หลายเดือนก่อน +1

    I really, really enjoy your teaching style. Thank you very much. Why can't I see an option to donate a cup of coffee to you?

  • @olegsirbu2
    @olegsirbu2 6 หลายเดือนก่อน

    awesome video!

  • @alejandroforteshidalgo9771
    @alejandroforteshidalgo9771 7 หลายเดือนก่อน +1

    This is amazing !!!! When will you make a react 19 tutorial ??

  • @Nitriano
    @Nitriano 4 หลายเดือนก่อน +2

    Can you please make a video of role based application, how does that work? Like admin have access to more things then users.

  • @alexg7282
    @alexg7282 3 หลายเดือนก่อน +1

    Thanks

  • @dananjayachathuranga7113
    @dananjayachathuranga7113 6 หลายเดือนก่อน +1

    thank you

  • @sushantthapa7007
    @sushantthapa7007 6 หลายเดือนก่อน

    You are the best 💖💖. Who agrees he's the best tutor? -> 👍

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

    THANK YOU!

  • @jfhandfield
    @jfhandfield 7 หลายเดือนก่อน +1

    Another great video from you Byte. Thank you. I have a quick question. Let's say you have 2 different DB to hit up in prisma, with 2 different schema how would you do it in your db.ts ?

  • @mememihnea
    @mememihnea 7 หลายเดือนก่อน +5

    I followed this tutorial step by step but I have a problem with Kinde.
    I'm not sure why I get a Invalid URL 500 error when trying to access a route that is hosted by Kinde.
    This also happens if I follow the docs from Kinde.
    I already tried twice to set it up and also watched your other Auth tutorial but nothing is working.
    Is there a hidden setting in Kinde dashboard? Did I miss anything?

    • @mememihnea
      @mememihnea 7 หลายเดือนก่อน +2

      Apparently the problem was with the organisation that I created (I don't know what was the actual problem).
      Creating a new organisation in the Kinde dashboard and re-connecting Kinde to my existing next project made everything work

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

      UPDATE 2:
      I've tried the middleware thing and was surprised that it didn't work, failing with the exact same error as before.
      Once I was tired of trying everything possible to make it work I wanted to see if the old solution with const { isAuthenticated } = getKindeServerSession(); works.
      Was very surprised to see that even this one was not working, again.
      I guess I'm done with Kinde

    • @BushPanDown
      @BushPanDown 6 หลายเดือนก่อน +2

      I received the same error(500, malformed URLs) - my organization was default, never added one. Played around with Kinde docs and their dashboard, then got 404s. Ended up just using NextAuth.

    • @safwanmohamed9135
      @safwanmohamed9135 6 หลายเดือนก่อน

      It works when I changed the "create-post" to "localhost:3000/create-post"

    • @keithjohnson5709
      @keithjohnson5709 6 หลายเดือนก่อน

      For me, I just had to clear my old Kinde cookies and then it finally worked

  • @viniciusm.m.7822
    @viniciusm.m.7822 7 หลายเดือนก่อน

    Thanks!!!

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

    In NextJS 15 you would have to await the params to get the id (\src\app\posts\[id]\page.tsx):
    export default async function Page({params}:{params: Promise}) {
    const post = await prisma.post.findUnique({
    where:{
    id: parseInt((await params).id),
    }
    });

  • @luciendelgrange1277
    @luciendelgrange1277 6 หลายเดือนก่อน

    Can we fetch with intervel inside server component ?

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

    Thaks for this tutorial. It is really helpful. What is the procedure if we want to show the user information beside every post? Should we save the user information in our local db? What is the procedure for that?

  • @johnjohn7023
    @johnjohn7023 6 หลายเดือนก่อน

    can you do a video on using server action with next-safe-action? Also was wondering how to fetch data using react-query with RSC.

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

    Thanks. Drizzle > Prisma?

  • @rahulchourasiya4148
    @rahulchourasiya4148 6 หลายเดือนก่อน

    Can you please make a video for single sign on, like centralised authentication website using next-auth, without any workos or any paid library for multiple saas website

  • @_AshishMohanty
    @_AshishMohanty 7 หลายเดือนก่อน +1

    I am getting this error while setting up the middleware
    TypeError: (0 , react__WEBPACK_IMPORTED_MODULE_0__.createContext) is not a function

    • @DepTenzey
      @DepTenzey 6 หลายเดือนก่อน +1

      Its because of LogoutLink try importing from other component it will work or remove and try once

    • @_AshishMohanty
      @_AshishMohanty 6 หลายเดือนก่อน +1

      @@DepTenzey thanks

    • @DepTenzey
      @DepTenzey 6 หลายเดือนก่อน

      @@_AshishMohanty hope it works!.. you can create new file in component and move those form along LogoutLink and make use client...

    • @_AshishMohanty
      @_AshishMohanty 6 หลายเดือนก่อน

      @@DepTenzey yeah I have figured it out

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

    can anyone please post the code for formData validation in actions function using zod? I tried create a schema, parsing the formdata but I get error:
    Error: Only plain objects, and a few built-ins, can be passed to Client Components from Server Components. Classes or null prototypes are not supported.

  • @danielmelo9744
    @danielmelo9744 6 หลายเดือนก่อน

    I'm receiving a 500 error when making a request to Kinde. How can I resolve this?

    • @danielmelo9744
      @danielmelo9744 6 หลายเดือนก่อน

      It worked for me when I changed the logic to the middleware.

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

    i like it

  • @usehook
    @usehook 6 หลายเดือนก่อน

    where is a part of App router

  • @shoaibshaikh3651
    @shoaibshaikh3651 7 หลายเดือนก่อน +2

    thanks, can you please make the next project on "video streaming with S3, cloudfront and nextjs" also with uploading/retrieving videos from API and show them on front end with optimisation, etc like simple youtube app

  • @GreaterNepal-cf6ll
    @GreaterNepal-cf6ll 6 หลายเดือนก่อน

    i love your videos Bytegrad but , you always use prisma orm , Why not drizzle orm ? And please make one Complete Nextjs ( new features + secuirty + seo + don't do this mistake in nextjs while doing this )video with Drizzleorm and postgres and also with Admin Dashboard.. please

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

    Dear Wesley could you please tell me how to get in touch with you for collaboration.

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

    wow.

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

    i want fundamentals of next js

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

    wow

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

    01:23:23

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

    kinde vs lucia ....your views

  • @miksterdam
    @miksterdam 6 หลายเดือนก่อน

    Wesley your English sounds so Dutch… but I see on your website that you are from Poland? 🇳🇱💔

  • @edward-vonschondorf-dev
    @edward-vonschondorf-dev 6 หลายเดือนก่อน

    as much as i was enjoying this video, i had to stop watching it because kinde wouldn't work for me. At first it sort of did in that it would redirect me to a login page but i couldn't login using github. So i tried email and password and it errors out every time i try to click create post. I didn't change anything in my code at all so i changed it back to github and it is still doing the same thing. Not a good first impression of kinde.

    • @ByteGrad
      @ByteGrad  6 หลายเดือนก่อน

      Hi, please double-check the import statements are correct for Kinde, I find auto-complete can give very subtle wrong suggestions

    • @edward-vonschondorf-dev
      @edward-vonschondorf-dev 6 หลายเดือนก่อน

      @@ByteGrad so i tried it again and it worked in that i could get to the login page but can't log in or register. just get an authorization error or something saying that i could only do this once. Tried re-doing everything over again and it just gives me a 500 error when i click create-post. Don't really get what i'm doing wrong on my end...

  • @Real_Life126
    @Real_Life126 7 หลายเดือนก่อน +1

    Sir aap Hindi me pathao

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

      th-cam.com/video/R-Epbgmy5ac/w-d-xo.html&ab_channel=CodeStepByStep

  • @krishnaSahu-dy6ho
    @krishnaSahu-dy6ho 6 หลายเดือนก่อน

    hi @byteGrad stuck at kinde auth at - 1:20:44 followed all the steps but gets HTTP ERROR 500 can please help

    • @keithlamontdavis8047
      @keithlamontdavis8047 6 หลายเดือนก่อน

      I had the same problem. It looks like there has been a change in NextJS and that part of the video and the Kinde docs are out of date. The redirect url must be an absolute path. So "/create-post" won't work. It must now be "localhost:3000/create-post".

  • @ab_semi
    @ab_semi 7 หลายเดือนก่อน +1

    Good videos! How can I connect with you, ByteGrad?

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

      Hi, thanks! Email me at support@bytegrad.com