Learn NextJS 13: Build a Modern Full-Stack E-commerce App with TailwindCSS + Stripe + Zustand

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

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

  • @ShaiAlon
    @ShaiAlon ปีที่แล้ว +6

    Fantastic tutorial - well done!
    One constructive feedback:
    A crucial part of web applications is that when you hit refresh - you generally get back to the same state.
    From 38:30 to 38:55 - you route to the homepage instead of handling the URL context.
    This would mean that users cannot share URLs to products - not a great plan.

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

      it's an excellent point that you make - I totally agree. I think the best solution would be to refetch the product on page load on the sub page route and then as you mention, the state is always there. Thanks for the comment :)

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

      How do you handle the URL context?

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

    I did needed like this project tutorial. Thank You

  • @lshd2476
    @lshd2476 8 หลายเดือนก่อน +1

    Thank You for your Awesome project tutorial . 😄Amazing content!

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

      Thanks friend :P

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

    Wow! this was amazing content! thanks James!!

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

      Haha cheers bro appreciate the comment!

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

    This is another level ! I have learned a lot !
    Looking forward for more full stack app !
    Thank you :)

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

      glad you enjoyed the video :)

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

    Thanks for a great tutorial, really well explained and easy to follow! Really enjoying the channel

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

      Thanks for the comment :) Appreciate the kind words and glad you're enjoying the content!

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

    You are the best! Thanks for all the content!

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

      Cheers for the nice words :)

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

    Thank you! Great video!
    ✌👊

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

    Great video! How do you create quantity functionality?

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

    At 1:26:06 when I click "Checkout" I get: "SyntaxError: Unexpected end of JSON input." The source is "app\Modal.tsx (26:27) @ json." I cannot figure out what is causing this error. Do you have any ideas?

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

    Great tutorial. 🙂Students beware when he says "curly parentheses" look to see what he actually types. It could be any type of parentheses.

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

      Haha sometimes my english break no good! Get my words all muddled!

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

    keep up the great work man

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

    Excellent tutorial! I appreciate you. One thing though, i am struggling @57:00 of the video. The createPortal keeps dying on me. Have you seen/hear of any issues regarding problems w/ createPortal?

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

      Were you able to solve that? I'm currently stuck there

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

      @@antoniors I had luck by changing the openModal back to "false" in the store.js and once I finished the headers ability to change the Modal state it started working.

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

    Thanks for this. Can you make a tutorial that shows up how we could use Firebase to add/delete products with prices and descriptions?

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

      I can definitely do that

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

    great video James, i really like how you put together things in your comprehensive tutorials, i would like to do a collab tutorial with you some day 😊✌

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

      Glad you enjoy the video! And I'm sure we can put something together at some point in the future 😊

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

    The best! Thank you!

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

      Thanks for the comment!

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

    Amazing content 🔥🔥

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

      Glad you're enjoying the video :)

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

    Hey James, do you know how to change the Favicon / Icon on the Heading Title in Next Js 13?

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

      Good question - nextjs.org/docs/api-reference/next/head. This is how it's done :) hope it helps

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

    Subbed. Great content. Would be great to see similar ecommerce app with products loaded from backend.

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

      Ty for the comment :) perhaps it'll be a tutorial in the future. Do you have a preferred backend?

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

      @@Smoljames mern should be fine

  • @erice.3892
    @erice.3892 ปีที่แล้ว

    the real challenge is getting sales with this

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

      you're not wrong!

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

    Hey Mate, I finished it up but had difficulties deploying on vercel. Initially used Next 14, then re-did it with Next 13, still no dice
    Help!!!

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

    Thank you brother!

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

      Hope it was useful :)

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

    Amazing 🔥🔥

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

      Cheers for the comment!

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

    Would I have to use cookies to maintain the state of my cart?

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

      Either that or local storage!

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

    On min 22 i do all the steps as you did but the data didn't fetched why? im sure the code is 100 as yours can you help pls

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

    why tailwind is not working on my setup

  • @eNjOy-uv8jm
    @eNjOy-uv8jm ปีที่แล้ว +1

    Modal doesn't open with the name of item in it! Nobody can finish this project, because of this error - CANNOT UPDATE A COMPONENT WHILE RENDERING A DIFFERENT COMPONENT. Fix it.

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

      if you ask nicely ;)

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

    ReactDOM is not working some how in latest next.js project, keep getting the same error over and over again
    ``Unhandled Runtime Error
    Error: Target container is not a DOM element.``

    • @Smoljames
      @Smoljames  9 หลายเดือนก่อน +1

      If you post your code in the discord channel I can take a look!

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

      @@Smoljames thank you I fixed it a bit different so its working I only am looking for somthing you did not add is to change te cart when you dont want a banan even if you clicked it so updating the cart. I will try to fix this myself or any sugestion is welcome. Thank you for the lessons learned.