Question
to implement a 3-tiered REST-based shopping cart application. Each tier is implemented on a different laptop and the laptops communicate using WIFI. Your implementation should
to implement a 3-tiered REST-based shopping cart application. Each tier is implemented on a different laptop and the laptops communicate using WIFI.
Your implementation should allow client devices to interact with the first tier only.
A customer should be able to :
1. Add products
Customers should be able to search or browse products on your website. All products should have an Add to Cart button. When a customer adds a product to their cart, they may not buy it right away, or at all. Sometimes customers use their cart for considering products -which leads us to step 2.
2. Review the cart
Customers should have the opportunity to review their cart before making their purchase. They might decide they don't want a particular item, or want a different quantity, size, or color. They should be able to make these adjustments seamlessly, without leaving the cart.
3. Complete the purchase
Your shopping cart software should calculate and display the total amount.
You can ignore shipping costs and limit payments to cash on delivery.
4. Continue the shopping process
Once a sale is complete, customers can keep browsing the products.
The application should allow the shop owner to update the products inventory including product descriptions and price information. The application should also implement concurrency control.
- Team members can be from different sections.
- You must divide the tasks among your team members fairly. Your submission should clearly show the name of the person who contributed to each part. This will guide the instructor at the time of the discussion.
- Do not write source code from scratch. You are expected to cite the references) that you used.
Ask ChatGPT to explain main modules in the code. Capture the explanations and include them in your submission. Make sure you understand what you submitted because you will be asked to re-explain it in the assignment discussion.
- Ask ChatGPT to explain to you the difference between REST, GraphQL, and gRPC and include the answer in your submission.
- Ask ChatGPT to re-factor your REST code as gRPC/GraphQL. Make sure you ask ChatGPT to explain how the code was re-factored. Make sure you understand how the code was re-factored. Include the re-factored code and its explanation in your submission.
- you will be graded based on the following rubric
Complete
Submission Discussion
Question
Answering
Marks out ofs
4
Description
The submission should include all the source code files and the requested documents in which you present the explanation and refactoring of the source code
An oral discussion will be scheduled with every group in which they present two successful demos [1) REST 2) GraphQL/gRPC] and accurately answer the questions of the instructor.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started