Code2Gether-Discord / Congo

Generic web store learning project that consists of three ASP.NET Core projects
https://code2gether-congo.azurewebsites.net/
11 stars 2 forks source link

#86 create and endpoint to add product to cart #101

Open Palisar opened 2 years ago

Palisar commented 2 years ago

Reopen this and fixed up the issues from before where the endpoint was returning a guid instead of a CartResponse I'm not sure about @Rich-Dunne's side of this PR but the API side is done.

Rich-Dunne commented 2 years ago

I'm no longer working on this.

valincius commented 2 years ago

I briefly tested this out - I noticed that after I add to cart, nothing really happens on the frontend. I think it should reset the "add to cart" quantity, and maybe show a alert or something saying that it was added successfully. Might also want to show something like "You have X quantity in your cart" if an item is already in our cart.

Palisar commented 2 years ago

I was more so trying to push the back end side of this, I think someone else had been working on the same branch and we may have gotten our work mixed up.