This is a simple shopping management system implemented in Java. The program allows users to perform various tasks related to managing a shopping system, such as adding items to the inventory, updating item details, displaying available items, and processing customer purchases.
- Add Items: Users can add new items to the inventory with details like name, price, quantity, etc.
- Update Items: Existing items' details such as price and quantity can be updated.
- Display Inventory: The program can display the current list of available items in the inventory.
- Purchase Items: Customers can select items from the inventory and make purchases.
- Calculate Total: The system calculates the total amount for the customer's purchase.
To run the program locally, follow these steps:
Clone the Repository:
git clone https://github.com/Srujanrana07/Java-Projects.git
To integrate MySQL with the Shopping Management System, follow these steps:
1. Setting up MySQL Database:
- Install MySQL Server on your machine if not already installed.
- Open the file provided.
2. JDBC Configuration:
- Download the MySQL JDBC Connector JAR file from the official MySQL website or Maven repository.
- Add the downloaded JAR file to your project's classpath.
Download the MySQL JDBC Connector JAR file from the official MySQL website or Maven repository. You can add this JAR file to your project's classpath to enable JDBC connectivity with MySQL.
Download Link: MySQL JDBC Connector
Upon running the program, users are presented with a menu where they can choose various options such as login and register. Once done with login/register then you can proceed to further options.
- To add a new item, select the option to add items and provide the necessary details.
- To update an existing item, choose the option to update items and enter the item ID along with the new details.
- To display the current inventory, select the option to display inventory.
- To make a purchase, choose the purchase option and follow the prompts to select items and calculate the total amount.