This is a Java-based project that implements an online shopping portal application with a bill generation feature. It allows users to register, browse products, add items to the shopping cart, and generate a PDF bill at the end of the checkout process.
-
User Registration: Users can register and create an account by providing their necessary information such as name, email, and password.
-
Product Listing: The application provides a list of products available for purchase, along with their details such as name, price, and description.
-
Shopping Cart: Users can add products to their shopping cart, review the cart, and remove items if needed.
-
Checkout: Users can proceed to checkout, where they will be asked to provide their name, address, and other required details for billing.
-
Bill Generation: After successful checkout, the program will generate a PDF bill containing the customer's name, address, order details, and the total amount to be paid.
-
Object-Oriented Programming: The project is developed using Object-Oriented Programming principles to ensure modularity, reusability, and maintainability of the codebase.
-
Linked List Data Structure: A linked list data structure is used for efficient management of the shopping cart, allowing easy addition and removal of items.
-
File Management: The generated PDF bill is saved to the user's computer using file management techniques.
Before running the Supermarket Bill Generator application, ensure you have the following installed:
- Java Development Kit (JDK) 8 or higher.
- A compatible Java Integrated Development Environment (IDE) like Eclipse or IntelliJ.
-
Clone this repository to your local machine or download the source code as a ZIP file.
-
Open the project in your preferred Java IDE.
-
Locate the
Main.java
file and run the application. -
The application will start, and you will be presented with options to register, browse products, add items to the cart, and proceed to checkout.
-
After successful checkout, a PDF bill will be generated and saved to your computer.
This project utilizes the following Java libraries:
- itextpdf: A Java PDF library to create, manipulate, and extract content from PDF documents.
For any inquiries, please contact abhaydonga007@gmail.com.