Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a shopping Cart #65

Open
2 of 10 tasks
andreidimaano opened this issue Feb 9, 2021 · 0 comments
Open
2 of 10 tasks

Create a shopping Cart #65

andreidimaano opened this issue Feb 9, 2021 · 0 comments
Assignees
Labels

Comments

@andreidimaano
Copy link
Owner

andreidimaano commented Feb 9, 2021

Frontend:

  • Shopping cart will query the database using urql to display number of items in shopping cart when page first loads
  • Shopping Cart will update cart quantity using state (cross tab updating will not work)
  • Adding Shopping Cart Icon to the top of Navigation Bar (2 divs: 1 icon, 1 Number of Items)
  • Shopping Cart Page will query the database using urql to display all items in shopping cart as a stack (see checkout issue)
  • Add Shopping Cart to Sidebar

Backend:

  • Add shopping cart to users
  • Create Array of Items in mongoDB
  • getNumberOfItems() returns array size
  • Update Array of Items: Delete from Cart and Add to Cart
  • getItems() returns all items in shopping cart
@andreidimaano andreidimaano added the enhancement New feature or request label Feb 9, 2021
@andreidimaano andreidimaano added this to To do in Kanban Board via automation Feb 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

No branches or pull requests

2 participants