Build an E-commerce Website With Sveltekit and Strapi

E-commerce websites have become increasingly popular due to their convenience and accessibility. They allow users to buy goods over the internet and have them delivered. In this tutorial, you will learn how to build an e-commerce website using SvelteKit and Strapi CMS.


This is a companion discussion topic for the original entry at https://strapi.io/blog/how-to-build-an-e-commerce-website-with-sveltekit-and-strapi

Why create an UserInfo collection with email and password when there is a User collection by default with email and password?

UserInfo collection should be named Customer.

Another thing I wonder is why you choose to have the userId and productId as text fields in cartItem collection instead of creating a relation to user and product?