Skip to content

Welcome to the DELI Java Application repository! This application features intuitive screens for easy navigation through menu items like chips, drinks, and sandwiches. Users can add, view, delete, and checkout items, with transactions saved to a CSV file. It employs DRY principles for cleaner code and includes robust error handling for all inputs.

Notifications You must be signed in to change notification settings

twentyfive21/DELI-store

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 

Repository files navigation

Deli Store Java Application Capstone 2

Welcome to the DELI Java Application repository!

Key Features:

  • Efficiency: The easy-to-use screens make navigating through the program simple and fun!
  • Functionality: Allows users to add, view, delete, through multiple menu items such as chips,drinks, and sandwiches.
  • The item can also be added to checkout and written to a csv to view similar to a transaction.

Folder Structure :

Screenshot 2024-05-24 at 2 28 58 PM

Homescreen : This is where the main class is and the start of the application!

Screenshot 2024-05-24 at 2 29 18 PM

Interesting piece of code :

Screenshot 2024-05-24 at 2 30 23 PM

I found this piece of code interesting because when I was writing my code I realized that I would have to repeat the exact same thing for alot of the ingredients. I knew that would violate the DRY code principle and knew I could make this a utility method to make my code cleaner. I love this implementation because it saved me so many lines of code I can't even imagine having to write that could not be used throughout the applciation. As a coder I strive to try to write things once and use throughtout the program if possible.


** Note all my screens handle errors for Strings and numbers. **

Homscreen output / error-handling : Screenshot 2024-05-24 at 2 34 35 PM

Main order Screen output :

Output:

Screenshot 2024-05-24 at 2 38 11 PM

Ordering custom sandwich next images output :

Screenshot 2024-05-24 at 2 38 37 PM Screenshot 2024-05-24 at 2 38 54 PM Screenshot 2024-05-24 at 2 39 08 PM Screenshot 2024-05-24 at 2 39 32 PM Screenshot 2024-05-24 at 2 39 47 PM

Display the cart :

Screenshot 2024-05-24 at 2 40 21 PM Screenshot 2024-05-24 at 2 40 33 PM

File created if checkout option selected :

Screenshot 2024-05-24 at 2 40 51 PM

Signature sandwich output :

Output :

Screenshot 2024-05-24 at 2 45 26 PM

Output for cart :

Screenshot 2024-05-24 at 2 45 48 PM

Modify bonus works for all items for signature sandwiches only showing cheese change in this output:

Screenshot 2024-05-24 at 2 57 30 PM Screenshot 2024-05-24 at 3 00 01 PM

Error handling :

Screenshot 2024-05-24 at 2 45 11 PM

Drinks output / errors:

Output :

Screenshot 2024-05-24 at 3 01 56 PM

Error handling :

Screenshot 2024-05-24 at 3 02 35 PM

Chips output / errors:

Output :

Screenshot 2024-05-24 at 3 05 39 PM Screenshot 2024-05-24 at 3 06 02 PM

Error handling :

Screenshot 2024-05-24 at 3 04 24 PM

No items in cart error handling :

Screenshot 2024-05-24 at 3 03 54 PM

Exit output / error-handling :

Output: Screenshot 2024-05-24 at 2 36 15 PM

About

Welcome to the DELI Java Application repository! This application features intuitive screens for easy navigation through menu items like chips, drinks, and sandwiches. Users can add, view, delete, and checkout items, with transactions saved to a CSV file. It employs DRY principles for cleaner code and includes robust error handling for all inputs.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages