Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create a clothes warehouse control application in Spring Boot - Create a shell project - Create an item model that will contain following fields: id,

Create a clothes warehouse control application in Spring Boot

- Create a shell project

- Create an item model that will contain following fields: id, name, brand (should be enum of fashionable brands(Balenciaga, Stone Island, Dior, e.g), year of creation, price

- Create Thymeleaf page to add item to stock using HTML form

- On addition of an item form should perform following validations(price is more than 1000, brand should be one of the list, year of creation is more than 2021)

- Addition should be performed successfully with no errors - Use Bootstrap to provide styling

Add Database Capabilities for Clothes Warehouse:

- Implement JPA Repository for Clothes Store with pagination and sorting

- Annotate Item with JPA model annotations so Item is interpreted as table

- Use command line runner to populate the table with some items

- On addition of the item it should be save to the database

- After addition you should be redirected to the list page (that you would need to create) that lists all the items

- Use bootstrap for styling of the list

- Create custom query to return items only for one specific brand and year 2022 and create a button on list page that on click sorts list by brand and re-renders the list

Please provide the code for each file.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Professional Microsoft SQL Server 2014 Integration Services

Authors: Brian Knight, Devin Knight

1st Edition

1118850904, 9781118850909

More Books

Students also viewed these Databases questions