- Create a grocery shopping list
- Create and buy meal bundles that are simply packaged items needed for that meal.
Customize the HTML user interface for your customer’s application. The user interface should include the shop name, the product names, and the names of the parts
-
templates >
-
confirmaddpart.html
-
confirmaddproduct.html
-
confirmassocpart.html
-
confirmdeletepart.html
-
confirmdeleteproduct.html
-
negativeerror.html
-
saveproductscreen.html
- Line: 4
- Added <link stylesheet>
- This was so that for the half second that the page is refreshing the background stays a dark color
- Line: 4
-
-
templates >
-
InhousePartForm.html
- Line: 8
- Added <link stylesheet>
- Lines 12 - 25
- added a navbar
- Lines 29 - 32
- added a new div container for <h1> tag for styling purposes
- Line 50
- added classes to the submit button for styling
- Lines 52 - 63
- added javascript for animation styling purposes
- Line: 8
-
OutsourcedPartForm.html
- Line: 8
- Added <link stylesheet>
- Lines 12 - 25
- added a navbar
- Lines 29 - 32
- added a new div container for <h1> tag for styling purposes
- Line 50
- added classes to the submit button for styling
- Lines 52 - 63
- added javascript for animation styling purposes
- Line: 8
-
mainscreen.html
- Line: 8
- Added <link stylesheet>
- Line: 9
- Changed App <title> to "Online Grocery Shopping"
- Lines 12 - 25
- added a navbar
- Lines 29 - 32
- added a new div container for <h1> tag for styling purposes
- Lines 110 - 135
- added javascript for animation styling purposes
- Line: 8
-
productForm.html
- Line: 8
- Added <link stylesheet>
- Lines 12 - 25
- added a navbar
- Lines 29 - 32
- added a new div container for <h1> tag for styling purposes
- Line 50
- added classes to the submit button for styling
- Lines 95 - 105
- added javascript for animation styling purposes
- Line: 8
-
-
resources > static > css > demo.css
- All Lines
- added styles for all pages
- All Lines
Add an “About” page to the application to describe your chosen customer’s company to web viewers and include navigation to and from the “About” page and the main screen.
-
-
AboutController.java
- Added new file
-
-
-
About.html
- Added new file
-
Add a sample inventory appropriate for your chosen store to the application. You should have five parts and five products in your sample inventory and should not overwrite existing data in the database.
-
-
application.properties
- #FIXME * swapped "update" for "create-drop" for testing
-
-
-
BootStrapData
- Lines 43 - 184
- Cleaned up original commented out bootstrap for bicycles
- Added InhousePart bootstrap instances
- Added Product boostrap instances
- Lines 43 - 184
-
Add a “Buy Now” button to your product list. Your “Buy Now” button must meet each of the following parameters:
- The “Buy Now” button must be next to the buttons that update and delete products.
- The button should decrement the inventory of that product by one. It should not affect the inventory of any of the associated parts.
- Display a message that indicates the success or failure of a purchase.
-
-
AddProductController
- Line 5
- Added import for ProductRepository
- Lines 35 - 38
- Autowired ProductServiceImpl and ProductRepository
- Lines 181 - 196
- Added new method to handle "Buy Now" button
- Line 5
-
-
-
mainscreen.html
- Line 99
- Added "Buy Now" button
- Line 99
-
Success.html
-
Failure.html
- Added two new view pages
-
Modify the parts to track maximum and minimum inventory by doing the following:
- Add additional fields to the part entity for maximum and minimum inventory.
- Modify the sample inventory to include the maximum and minimum fields.
- Add to the InhousePartForm and OutsourcedPartForm forms additional text inputs for the inventory so the user can set the maximum and minimum values.
- Rename the file the persistent storage is saved to.
- Modify the code to enforce that the inventory is between or at the minimum and maximum value.
-
-
BootStrapData
- Line 44
- Changed Beef from an Inhouse Part to an Outsourced Part
- Lines 49 - 194
- Set min and max inventory for each sample part
- Line 44
-
-
-
Part
- Lines 4 - 5
- import ValidPartInventory & ValidMaxInv validators
- Lines 21 - 22
- annotate class with ValidPartInventory & ValidMaxInv
- Lines 36 - 39
- two new fields for entity - maxInv, minInv(annotated with @Min)
- Lines 94 - 109
- getters and setters for minInv, maxInv
- Lines 4 - 5
-
-
-
ValidPartInventory
-
ValidMaxInv
- Added two new annotations
-
PartInventoryValidator
-
MaxInvValidator
- Added two new validators
-
-
-
InhousePartForm
- Lines 48 - 53
- Added two new input fields for minIn & maxInv
- Lines 56 - 64
- Added lines for printing new validator error messages
- Lines 48 - 53
-
OutsourcedPartForm
- Lines 45 - 51
- Added two new input fields for minIn & maxInv
- Lines 56 - 64
- Added lines for printing new validator error messages
-
Add validation for between or at the maximum and minimum fields. The validation must include the following:
- Display error messages for low inventory when adding and updating parts if the inventory is less than the minimum number of parts.
- Display error messages for low inventory when adding and updating products lowers the part inventory below the minimum.
- Display error messages when adding and updating parts if the inventory is greater than the maximum.
-
-
AddProductController
- Lines 62 - 92
- refactored post handler for error binding to maintain form input
- Lines 62 - 92
-
-
-
EnufPartsValidator
- Line 36
- Increased comparable operator by the minInv amount
- Line 36
-
-
-
mainscreen.html
- Lines 54 - 55
- Added Min & Max values
- Lines 64 - 65
- Added Min & Max values
- Lines 54 - 55
-
-
-
InhousePartForm.html
- Lines 39 - 75
- Added span tag to style the form field placeholder values
- Lines 39 - 75
-
InhousePartForm.html
- Lines 39 - 75
- Added span tag to style the form field placeholder values
- Lines 39 - 75
-
negativeerror.html
- Lines 4 - 7
- style imports
- Lines 11 - 25
- added navbar
- Lines 26 - 31
- styling body text
- Lines 33 - 61
- added navbar and redirect scripts
- Lines 4 - 7
-
Add at least two unit tests for the maximum and minimum fields to the PartTest class in the test package.
-
-
PartTest
- Lines 159 - 195
- Added getter & setter tests for min and max fields
- Lines 159 - 195
-
Remove the class files for any unused validators in order to clean your code.
-
-
Part
- Line 20
- Removed @ValidDeletePart unused
- Line 20
-
-
-
DeletePartValidator
- Deleted validator class unused
-
ValidDeletePart
- Deleted annotation class unused
-
Take this opportunity to create or add to a simple resume portfolio to highlight and showcase your work for future use in career search, experience, and education!