Build a Shopping Cart With React JS & Stripe

Поділитися
Вставка
  • Опубліковано 14 жов 2024

КОМЕНТАРІ • 189

  • @sanjaybatak3549
    @sanjaybatak3549 2 роки тому +20

    Just when you wanted something like this, Brad drops this video. 🎉
    Thank you Brad and the team. You guys are doing phenomenal work.

  • @paulthomas1052
    @paulthomas1052 2 роки тому +17

    A fantastic tutorial. Easy to follow....no errors....a great introduction to Stripe too. Thanks

  • @thangtruong1808
    @thangtruong1808 Рік тому +1

    Thank you for your time to support us. Loved.

  • @laxmiprasanna4092
    @laxmiprasanna4092 Рік тому +1

    This is exactly what we need. These small videos help us during actual work.

  • @JonBrookes
    @JonBrookes 2 роки тому +4

    Watching this from start to finish I honestly did not know how Cooper Codes would fit all the material required to code a react app and Stripe backend with express in such a short session but he did !
    Very well structured approach and excellent teaching by Cooper. If you dont know arrays in Javascript and methods for workng with them you will at the end of this. If you've never used context with React you will be fine to do so at the end of this video. If you thought integrating payments into a front end app or any other for that matter is in some way beyond reason difficult you will see how easy it can be by the end of this tutorial.
    Thank you Cooper and also to the venerable Brad for showcasing a new channel and content of great quality

  • @gnarpow
    @gnarpow Місяць тому

    @30:31 hands down the best description and analogue. If you just watch this part alone you will understand how powerful react context api is. You truly don’t need state managers. BUT. You do. Excellent work amigo! ❤️

  • @mukangwakalonda7726
    @mukangwakalonda7726 Рік тому

    I thanks all traversy group, it is my first time I manage the payment project God bless you all

  • @renangaldino6538
    @renangaldino6538 Рік тому +1

    This is absolutaly one of the best React tutorial avaiable in YT, Thanks a lot !!!

  • @mikeynavarro3195
    @mikeynavarro3195 Рік тому +1

    This is probably my favorite youtube tutorial, Cooper revisited harder concepts for clarification multiple times. he's cool for that, definitely earned a Sub

  • @charugupta7103
    @charugupta7103 2 роки тому +2

    Heyyy traversy! Big fan here, saw your react tutorial few months ago. Came back to revise the same and found this. Thanks for the amazing contetnt.

  • @Russ_Paul
    @Russ_Paul 2 роки тому +3

    Excellent tutorial Cooper, you're a very good teacher. Your tutorial is very straightforward, it's to the point and makes perfect sense start to finish. One thought that is going through my mind, I don't know if this goes against the grain of React, but could it be restructured into an MVC pattern?

  • @tristen_grant
    @tristen_grant 2 роки тому +3

    I give him 10/10. Easy to follow and good pacing.

  • @aliplaysgtr
    @aliplaysgtr Рік тому

    Exactly what I needed for a graduation work. Thanks a lot! Super clear and comprehensive

  • @blipblop92
    @blipblop92 Рік тому +1

    Thank you Cooper. Amazing tutorial, so glad I found your channel. Wish the tutorial also showed how to deploy the code to something like heroku or netlify.

  • @RobButzofNorthAmerica
    @RobButzofNorthAmerica 2 роки тому +2

    Stuff like this is why I support your Patreon! Thanks so much

  • @MatthewPostrel
    @MatthewPostrel 10 місяців тому

    This video helped me finish my first full stack project. Thank you.

  • @HeatherKonz
    @HeatherKonz 8 місяців тому

    This was an amazing tutorial! I am working on a Capstone project that is very similar to this so this was really, really helpful!! Thank you!

  • @tonykharioki6913
    @tonykharioki6913 Рік тому

    I hadn't used stripe in two years, and thanks for this. I needed this refresher

  • @shannonbrookshire234
    @shannonbrookshire234 Рік тому

    great tutorial. thank you so much for your efforts. I was stuck on a project for a couple of days and using the 'useContext' and 'CartContext' approach really helped. thanks

  • @brandonespinosa3756
    @brandonespinosa3756 Рік тому

    Bravissimo, context hook is amazing. Thank you so much for showing this. Great video!

  • @josephngugi
    @josephngugi 2 роки тому +1

    Been looking forward to learn stripe and here it is. thanks to traversy media

  • @maskman4821
    @maskman4821 2 роки тому +2

    This is the best React + Stripe tutorial, thank you so much 🙏

  • @delgorithm
    @delgorithm 5 місяців тому

    You're genuinely the boss. No cap. Thanks a lot 🤝

  • @blue_berry_pie64
    @blue_berry_pie64 2 роки тому +2

    Very nice video explaination for each step! Thank Brad and Cooper Codes so much!

  • @hbela1000
    @hbela1000 Рік тому

    Your tutorial is very straightforward, thx Brad, thx Cooper.

  • @bnji6601
    @bnji6601 Рік тому +3

    Amazing tutorial, I had one question on the success and cancel url in the server. I realize this works for localhost. For live deployment how would you go about setting up the routes for that.

  • @andrewaghoghovwia1948
    @andrewaghoghovwia1948 2 роки тому +3

    Thanks so much guys

  • @Brazo07
    @Brazo07 Рік тому

    Loved every single minute. Thank you so much

  • @shannonbrookshire234
    @shannonbrookshire234 Рік тому

    I can't give this video enough thumbs up. Thank You

  • @pablodominguez6129
    @pablodominguez6129 Рік тому +2

    awesome, simple and cut to the chase. Thanks man!

  • @aniket1008
    @aniket1008 Рік тому

    Best tutorial on shopping cart on react

  • @DavisNorde
    @DavisNorde 2 роки тому

    Thank you, Cooper! And nice t-shirt, Brad :)

  • @tonghandsome1
    @tonghandsome1 Рік тому

    Thank you very much Cooper for all the efforts you have done! Also Thank you Brad!

  • @marshallgraphic
    @marshallgraphic 3 місяці тому

    This is interesting with Strip letting you manage your products from their platform. Do they provide an API to fetch the products from there so you don't have to store items in a DB in your app?

  • @plaguegames3556
    @plaguegames3556 7 місяців тому

    Great job Cooper, thanks.

  • @250kennedy8
    @250kennedy8 Рік тому

    @CooperCodes thank you for this amazing project.

  • @kellyncodes7421
    @kellyncodes7421 2 роки тому +2

    Thanks for the vdeo Brad/Copper Code

  • @madfut24_official
    @madfut24_official 3 місяці тому +1

    until now I've my website completely built with html. Do i need an other program and witch program do you use in your vid? Maybe you've said this in your vid but for me only the last 15 min are important

  • @christian-schubert
    @christian-schubert 2 роки тому +1

    Thanks for this! Love how Cooper structures this video, I really think Brad should make sure any video to be featured on this channel should meet certain criteria, i.e. demonstrating the final product before getting down to the nitty-gritty, etc.

  • @perrythepalteypus2185
    @perrythepalteypus2185 Рік тому

    Brilliant tutorial man ❤️ total blast 👌🏻

  • @Feciboy
    @Feciboy 8 місяців тому

    Great tutorial! Thank you!

  • @al-kishk6782
    @al-kishk6782 2 місяці тому

    cooper is the best

  • @logancabrera7824
    @logancabrera7824 Рік тому +2

    Hey guys, I'm having troubles hosting this code. Do I have to change any code to make it work on the web (hosted)?

  • @TheBelafleck
    @TheBelafleck Рік тому

    Hey. This is awesome and very helpful. One question: How is the cart emptied after the purchase is completed?

  • @WebAppMeta
    @WebAppMeta 11 місяців тому

    Another tutorial hell. keep going!

  • @TechIndustryAnalysis
    @TechIndustryAnalysis Рік тому +1

    Thanks for doing this bro!

  • @nicolassuarez2933
    @nicolassuarez2933 Рік тому

    Best of its kind!

  • @iUniverse
    @iUniverse 2 роки тому +4

    Hi Brad, if you don't mind can you make a React, Redux-Saga, React Tool Kit real world projects tutorial in your Udemy platform. Learning with you is a great help.

    • @iUniverse
      @iUniverse 2 роки тому

      Is this Brad's Whatsapp number?

    • @rajatmalviya1097
      @rajatmalviya1097 2 роки тому

      I am also looking for a Redux-tool kit Course.

  • @kamichikora6035
    @kamichikora6035 2 роки тому

    Yes!!!!! Cooper codes!!!! This guy has good stuff

    • @CooperCodes
      @CooperCodes 2 роки тому

      Hah I appreciate it! Thanks for watching :)

  • @estifanosgashawtena8789
    @estifanosgashawtena8789 2 роки тому +3

    Great video, at 45:40 to find the total cost of products from cart, it better to use Array.Reduce() but overall good content 👌

    • @CooperCodes
      @CooperCodes 2 роки тому +3

      Yeah there were definitely some tradeoffs at areas to make the code easier to understand, I feel map can be easier to show that at each item we are getting that total price but it is a bit unnecessary. Thanks for the comment and perspective I appreciate it.

  • @VitorGomes_
    @VitorGomes_ Рік тому

    Awesome work! Thank you.

  • @danielowusu6163
    @danielowusu6163 Рік тому

    Lifesaver 🎉 subscribed

  • @thenomadengineer9260
    @thenomadengineer9260 Рік тому

    DUDE... MEGA HELPFUL

  • @WebAppMeta
    @WebAppMeta 11 місяців тому

    Thanks Cooper

  • @tarcisiosassi9379
    @tarcisiosassi9379 Рік тому

    Really cool. Thanks for share!!

  • @cosanostraytc1030
    @cosanostraytc1030 2 роки тому

    Great tutorial man. Thank you!!!

  • @futureverse9347
    @futureverse9347 Рік тому

    Very good project Thank you @Cooper Codes 10/10

  • @arminesmaili908
    @arminesmaili908 Рік тому

    real good
    Armin liked that👍

  • @sadique_x_
    @sadique_x_ 7 місяців тому

    ohh Brad!🤟

  • @emmanuelenwereji472
    @emmanuelenwereji472 8 місяців тому

    Thank you for this awesome video, I would really appreciate if I can get more clarifications on using local storage for this project, I am having issues, whenever I reload the page, I usually loose all my items in the cart. Thank you

  • @VictorJReilly118
    @VictorJReilly118 Рік тому

    Thanks so much!! Really good tutorial!

  • @omarimoody9794
    @omarimoody9794 Рік тому

    Excellent work, Appreciate cha!

  • @densel.c8935
    @densel.c8935 4 місяці тому

    Great video!

  • @paymankhayree8552
    @paymankhayree8552 10 місяців тому

    thanks. really helped me

  • @oyeyinkaojora
    @oyeyinkaojora 11 місяців тому

    Thank you so much for this,

  • @sergiyrudenko905
    @sergiyrudenko905 Рік тому

    Amazing! Thank you!!!

  • @jawidz4636
    @jawidz4636 Рік тому

    Amazing tutorial bro ! One question ! im trying to use that show cart button in some other component. tried many stuff but none worked! any suggestion for that matter ?
    i Appreciate any help

  • @movrew
    @movrew 2 роки тому

    This is super cool

  • @mvptheviking
    @mvptheviking Рік тому +2

    Great tutorial i succeeded to do this on localhost. I want to publish it to my hosting. Im new to react and run a build in the shop folder. How can i build the server along with my project and upload into the ftp.

  • @CodeCouture
    @CodeCouture Рік тому +1

    hi, I have a question whn building a full stack ecommerce website how to do you get the person's details
    Thank you

  • @sonamohialdin3376
    @sonamohialdin3376 Рік тому

    This is awesome tutorial thank you

  • @mostafahemdan8609
    @mostafahemdan8609 5 місяців тому

    This Bootstrap is unfamiliar to me , Is this better or the usual one written in the class name?

  • @ambrosebeavers
    @ambrosebeavers Рік тому

    Hi There, thank you for this vid. How do one receive payment in a production environment using Stripe. Would it be the same procedure. How would the money get to ones bank account

  • @dgloria
    @dgloria Рік тому

    Cool T-shirt!

  • @lehuynh7637
    @lehuynh7637 Рік тому

    20:29 you can use ffc snippet Simple React Snippets extension to fast to code

  • @thomasstambaugh5181
    @thomasstambaugh5181 2 роки тому

    Does the Modal (that contains the cart) hide when the user clicks outside the BROWSER? For example, if the user has this app open in a chrome browser on a desktop and clicks on "Snipping tool" to take a screenshot, will the Modal hide? I spent a few days (close to a week) trying to provide that behavior to an Material UI (v5) pane with no success. It appears that the "onHide" handler in the (Bootstrap Modal component) is somehow connected to the "focusout" and "blur" events that are flying around under the cover. I'm curious about whether this is a "hard" problem that the Modal component solves or (more likely) whether I'm just confused about how to provide the desired behavior.
    I do have one substantive criticism of the approach presented here -- I would have used literal object ("{}") rather than array ("[]") for the container of items. Since each item in the array must have a unique ID, then the "id" property used in each item can be its key in an object container. That makes the manipulators for the items cleaner, more robust, and more performant.
    I appreciate this well edited piece. I might pick some nits with specifics, but those are just nits -- this is an excellent piece.

  • @Seedley
    @Seedley Рік тому

    This is a great video.
    If I want to make a post once I get a success url back from stripe is there a way to do that?
    I'm making a car listing site and would like to charge per car post.

  • @codewithahad5990
    @codewithahad5990 Рік тому

    It;s was really great toturial best of luck

  • @bilelrahmouni01
    @bilelrahmouni01 29 днів тому

    you gave the cart part more than 70% of the video, the interesting part that is stripe is lacking a lot of things like webhooks or how to update the db after the stripe success

  • @haroldve98
    @haroldve98 Рік тому

    this tutorial it's absolutely god thanks

  • @VaibhavPawar-k7e
    @VaibhavPawar-k7e 9 місяців тому

    Hey Brad, Thanks for this video. I just having one question, Because I am not able to access array for added product in other components of my project. How can I fix this ?

    • @plaguegames3556
      @plaguegames3556 7 місяців тому

      C'mon that is a very specific request with almost none information given.
      Maybe if you can share the code people can help here.

  • @varadarajanm6954
    @varadarajanm6954 2 роки тому +2

    Awesome

  • @emvoinamdinh
    @emvoinamdinh 2 роки тому

    thank you sir very much !!!😍😍

  • @programmingwithnit5308
    @programmingwithnit5308 Рік тому

    Thank you so much🙏🙏

  • @robeeeeen
    @robeeeeen 2 місяці тому

    Any necessity of "Remove from Cart" red button? Is that button added since the minus button does not makes the In Cart: 0 ? The function removeOneFromCart do not make it 0.

  • @This-Iz-Patrick
    @This-Iz-Patrick Рік тому

    Great tutorial

  • @jancahlik9959
    @jancahlik9959 Рік тому

    How does one host this project in production? Can someone explain please? Would this be under 1 domain and hosting? I am confused, because two different ports are being used.

  • @ahsanaqueel1182
    @ahsanaqueel1182 Рік тому

    Hey @CooperCodes
    what if we have a lot of products how can we use stripe without creating products on stripe as it will be very difficult to upload same products on 2 different platforms (website and stripe).

  • @benjamincardona5444
    @benjamincardona5444 2 роки тому

    Hey brad. I'd like to ask, if this comment ever makes it to your eyes, what's your advice on how to set up your mental state when you feel like your programming project has too much stuff, things got confusing, tech debt is high and you feel it's going to slowly break down into pieces and nothing's gonna work anymore.

  • @travisbacon5527
    @travisbacon5527 Рік тому

    Any chance you would do a course on stripe payments for saas apps that uses pay per seat? I.e. admin pays for five seats and then invite users and then they can expand and reduce subscription based on active users.

  • @963seeker
    @963seeker 2 роки тому +2

    does anyone know how to set a fixed quantity for items to control the amount of supply of any given item? A user might pay for an item that the supplier (You) don't have in stock :(
    Any help is greatly appreciated

  • @godswillumukoro8908
    @godswillumukoro8908 Рік тому

    Awesome tutorial
    I'm not sure why, it doesn't work for me unless I change the modefrom 'payment' to 'subscription'

  • @aguywithoutaname
    @aguywithoutaname Рік тому

    Thanks man

  • @longsyee
    @longsyee Рік тому

    Is a great teaching but i really hope that more stuff can be added such as multer for file upload profile page dashboard setingup mongo forgot password email api to send email websocket for live chat etc.... so many missing wait you to have a more advance video

  • @ArnavSingh-im5bj
    @ArnavSingh-im5bj Рік тому

    You should have also covered webhook

  • @igwanwan_dagoat1523
    @igwanwan_dagoat1523 Рік тому

    Can I use this for business use?

  • @bradwoods371
    @bradwoods371 Рік тому

    what would be the best way to implement this into a site already built with html css javascript etc.

  • @olegmonastyrskiy2594
    @olegmonastyrskiy2594 2 роки тому +2

    Don't use "idx" for unique key in map method

  • @ankitbhatt9388
    @ankitbhatt9388 Рік тому

    I am deploying a project like this, so in cart.jsx and server.js page in checkout function what URL should i give.

  • @newabyuser
    @newabyuser Рік тому +1

    after passing CartProvider in the app.js everything went blank