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.
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
Use a simple web interface with either Thymeleaf or JSPs. It doesn’t have to be fancy or use sophisticated JavaScript.
![](/static/compass_v2/shared-icons/check-mark.png)
Trending now
This is a popular solution!
Step by step
Solved in 4 steps
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
![Starting Out with Python (4th Edition)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
![Starting Out with Python (4th Edition)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
![C How to Program (8th Edition)](https://www.bartleby.com/isbn_cover_images/9780133976892/9780133976892_smallCoverImage.gif)
![Database Systems: Design, Implementation, & Manag…](https://www.bartleby.com/isbn_cover_images/9781337627900/9781337627900_smallCoverImage.gif)
![Programmable Logic Controllers](https://www.bartleby.com/isbn_cover_images/9780073373843/9780073373843_smallCoverImage.gif)