Skip to content

Latest commit

 

History

History
51 lines (26 loc) · 2.4 KB

README.md

File metadata and controls

51 lines (26 loc) · 2.4 KB

Supermarket Bill Generator

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.

Features

  1. User Registration: Users can register and create an account by providing their necessary information such as name, email, and password.

  2. Product Listing: The application provides a list of products available for purchase, along with their details such as name, price, and description.

  3. Shopping Cart: Users can add products to their shopping cart, review the cart, and remove items if needed.

  4. Checkout: Users can proceed to checkout, where they will be asked to provide their name, address, and other required details for billing.

  5. 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.

  6. Object-Oriented Programming: The project is developed using Object-Oriented Programming principles to ensure modularity, reusability, and maintainability of the codebase.

  7. 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.

  8. File Management: The generated PDF bill is saved to the user's computer using file management techniques.

Prerequisites

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.

How to Run

  1. Clone this repository to your local machine or download the source code as a ZIP file.

  2. Open the project in your preferred Java IDE.

  3. Locate the Main.java file and run the application.

  4. The application will start, and you will be presented with options to register, browse products, add items to the cart, and proceed to checkout.

  5. After successful checkout, a PDF bill will be generated and saved to your computer.

Libraries Used

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.