Shopping Cart

System Design · Disney · Medium

Lay out the design of an online shopping cart, focusing primarily on how the client side is architected rather than on the backend. Walk through which UI components make up the cart and how they communicate with one another, then describe how the cart's state is stored on the client so it survives across sessions, and how that local state is synchronized with the server.

Loading the rest of the question…