Web程序代写|Modern Technologies on World Wide Web Assignment 2

这是一篇美国的在线购物web应用程序代写

 

Overview

In this assignment, we are going to develop a single-page online shopping web app iShop using the MERN stack (MongoDB, Express.JS, ReactJS and Node.js). The main work flow of iShop is as follows.

➢ Upon loading, the sketch of the page is shown in Fig. 1. The user can click a category on the top to view products in the category.

➢ The user can search products by entering search string in the search box and clicking on the dropdown list (initially displaying “All”) to narrow down the search within a specific category, as follows:

The user can adjust the quantity and click “Add to Cart” to add the item(s) to its shopping cart.

After clicking “go back”, the page returns to the last page that the user is viewing.

➢ After the user clicks the “Sign in” link in one of the page views as shown above, or clicks the “Add to Cart” button on a page view as in Fig. 3 (without user signed-in before), a sign-in page is displayed:

User can enter its username and password and click the “Sign in” button to sign in. An error message should be prompted on top of the form in Fig. 4’s view, if the sign-in fails.

➢ If the sign-in page was brought up when the user was adding some item(s) to the cart, after successfully signing-in, the page view goes to the following (suppose the user name is Jack), where xx indicates the actual number of items in the user’s shopping cart.

After clicking “continue browsing”, the page goes back to the initial display of the web app.

➢ If the sign-in page was brought up by clicking “Sign in” on a page view as in Figures 1-3, after successful signing-in, the page view of Fig. 1 becomes the following, and the page views of Figures 2, 3 change similarly, i.e., the shopping cart icon/information and “Hello, xx (Sign out)” are displayed on the top-right corner of the page, instead of the “Sign in” link.

➢ When the user clicks the area containing the shopping cart icon and “xx in Cart” on the top-right corner of a page, the shopping cart content is displayed, as shown in Fig.

  1. The selected quantity of each product is displayed, and the user can change the quantity. When a quantity is changed, “Cart subtotal (xx item(s)): $xx” should change accordingly. Especially, if there is 1 item, it should be “Cart subtotal (1 item): $xx”; if there are more than one item, it should be “Cart subtotal (xx items): $xx”.

Whenever the total item quantity is changed, “xx in Cart” at the top of the page should be updated accordingly.

➢ When the user clicks the “Proceed to check out” button, the page is as shown in Fig.

  1. In our simplified shopping app, we omit the payment page, but directly display this order success page (where the total item number and money paid should be showing the actual numbers). Note that the items in the shopping cart should be cleared and “0 in Cart” should be displayed at the top of the page.

When the “continue browsing>” link is clicked, the page goes back to a view as in Fig.

6, with the initial page of the web app displayed (the top-right corner shows the after-sign-in contents).

➢ When the user clicks the “Sign out” link in the page views as in Figures 5-8, the page displays a “Sign in” link in the top-right corner of the page replacing the shopping cart information and “Hello xxx (Sign out)” if the previous page view is Fig. 6, or goes back to the initial page of the web app if the previous page view is Fig. 5, 7 or 8.


程序代写代做C/C++/JAVA/安卓/PYTHON/留学生/PHP/APP开发/MATLAB


本网站支持淘宝 支付宝 微信支付  paypal等等交易。如果不放心可以用淘宝交易!

E-mail: itcsdx@outlook.com  微信:itcsdx


如果您使用手机请先保存二维码,微信识别。如果用电脑,直接掏出手机果断扫描。

blank

发表评论