Creating and Managing a Shopping Cart with Data Caching and Redis

In this meeting, the participants discuss the creation of a new endpoint called "card" that will be associated with a user's ID. They plan to use a redis cache to ensure fast performance. They discuss the setup of the key for the cart, emphasizing that it should include the user's ID to ensure one cart per user. They also discuss data manipulation and filtering to dynamically set up the key. They encounter some technical issues with their functions and debug them. They explore the use of data caching and redis to add elements to the cart and retrieve cart information. They talk about the importance of clearing out the cart after the shopping experience is finished. They conclude by discussing the need for different API endpoints to handle adding items to the cart and retrieving cart information.


(Source: Office Hours 5/10 )

State Change Members Can View The Video Here
chris-montgomery-smgTvepind4-unsplash.jpg

View This Video Now

Join State Change Risk-Free