Creating a user specific cart using react and strapi

hey everyone, i made a react WebApp using react and Strapi. everything is done including cart functionality in local storage, login/register and others. But one thing that i can’t figure out is how can i make a cart which shows data for the user.

now i saw one post here which said to make a content type Cart and then set one-many relation with product and one-one relation with user. but still i couldn’t understand the actual process to do this.

i have been searching for a good tutorial for this but i couldn’t come across it anywhere.

please guide me to a tutorial for this or help me make it work.

i am a beginner and i really need this help.

1 Like