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.

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
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
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education