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

Create cart package #5

Open
aldy505 opened this issue Apr 25, 2023 · 0 comments
Open

Create cart package #5

aldy505 opened this issue Apr 25, 2023 · 0 comments

Comments

@aldy505
Copy link
Member

aldy505 commented Apr 25, 2023

Based on business requirements and architecture design.

Create a cart package that does:

  • Addition of a product item to each user's shopping cart
  • Modification of each items on user's shopping cart (quantity changes, item deletion, variant changes)
  • Other service (eventually) can retrieve user's shopping cart, by:
    • Checking whether a user does have a shopping cart
    • Seeing what's inside a user's shopping cart
  • Checkout service will publish a message on Kafka (the topic name and schema is not important right now -- it'll be owned by the checkout package), you should also create an rpc that deletes or clear a user's shopping cart by a specific reason (checkout by system, cleared by system because of too long, cleared by user)

The product schema can be acquired from #4

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

No branches or pull requests

1 participant