1You work on an online web shop and, currently, store all the cart items from your users (shoppers) in the browser's local storage. The setup is a simple microservices based app with a relational database.
The business wants to develop a mobile application and for this you need to have a shared cart between web and mobile (when a user adds an item to the cart from the web, it has to be shown also on mobile, and vice-versa).
What is the most optimal way to implement this?
The business wants to develop a mobile application and for this you need to have a shared cart between web and mobile (when a user adds an item to the cart from the web, it has to be shown also on mobile, and vice-versa).
What is the most optimal way to implement this?