Create a shopping cart application The application must do the following: Provide the user and an admin a way to navigate to the various pages that they need to get to (see below actions). A User and an Admin should be able to see a list of products for sale User can add products to a shopping cart (We can hardcode the user, no need for Spring Security) A User can update quantities of a particular object in their shopping cart A user can remove items from the shopping cart (by either reducing their content to 0 or a remove button or link. A User can checkout by having a checkout button or link (which will turn a shopping cart into an order and associated order items). A user can view their shopping cart A user can view previous orders A user can view a particular order and see its order items. An Admin can add products (since there is no actual security, simply put admin functions behind the /admin url. An example might be /admin/products/new). An Admin can delete products An admin can update products An Admin can create new products An admin can add product types An admin can only delete product types which have not yet been assigned to a product. An admin can view all orders in the system. Use the H2 in Memory Database. Go ahead and pre-populate some of the database tables like Users, Products, Product Types, old Orders and associated order items. Use a simple web interface with either Thymeleaf or JSPs. It doesn’t have to be fancy or use sophisticated JavaScript.

EBK JAVA PROGRAMMING
8th Edition
ISBN:9781305480537
Author:FARRELL
Publisher:FARRELL
Chapter16: Graphics
Section: Chapter Questions
Problem 2GZ
icon
Related questions
Question

Create a shopping cart application

The application must do the following:

Provide the user and an admin a way to navigate to the various pages that they need to get to (see below actions).

A User and an Admin should be able to see a list of products for sale

User can add products to a shopping cart (We can hardcode the user, no need for Spring Security)

A User can update quantities of a particular object in their shopping cart

A user can remove items from the shopping cart (by either reducing their content to 0 or a remove button or link.

A User can checkout by having a checkout button or link (which will turn a shopping cart into an order and associated order items).

A user can view their shopping cart

A user can view previous orders

A user can view a particular order and see its order items.

An Admin can add products (since there is no actual security, simply put admin functions behind the /admin url. An example might be /admin/products/new).

An Admin can delete products
An admin can update products
An Admin can create new products
An admin can add product types
An admin can only delete product types which have not yet been assigned to a product. An admin can view all orders in the system.

Use the H2 in Memory Database. Go ahead and pre-populate some of the database tables like Users, Products, Product Types, old Orders and associated order items.

Use a simple web interface with either Thymeleaf or JSPs. It doesn’t have to be fancy or use sophisticated JavaScript.

 

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps

Blurred answer
Knowledge Booster
Running Time of Application
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781305480537
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,