Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API Version of ends #339

Open
rajibbrunel opened this issue Jun 1, 2022 · 3 comments
Open

API Version of ends #339

rajibbrunel opened this issue Jun 1, 2022 · 3 comments

Comments

@rajibbrunel
Copy link

rajibbrunel commented Jun 1, 2022

HI
I think it is necessary to have api end for the cart. I am using database storage. In that case how I can call and retrieve cart details or add /edit /details along with the cart summary. If not provided i need to create a custom cart. it is necessary to consider mobile applications. Consider an eCommerce business who have both mobile apps and an eCommerce website. if the user added an item in web site it will be not available on apps if we do not use the database. and api is essential to build the cart in mobile

@HuyPham55
Copy link

If we do not use database to store user's shopping cart, what do you think we could use to store it?

@rajibbrunel
Copy link
Author

if you do not use the database default system will handle this. It is a session I guess as per the document. But database/ cloud file will be the best solution because for instance for an application there could be 2 ends mobile and desktop. If you add an item to the cart on a mobile /different device it will be not available on another device. Creator of this project may generate api end for this app with backend but it could cost him

@rajibbrunel
Copy link
Author

rajibbrunel commented Jun 13, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants