Skip to content

alifdanialnasri/Book_Purchasing_System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Book_Purchasing_System

Problem Based Learning 2 | Semester 2 | Java Programming

HappyTreeShelf - Book Shopping Application

Welcome to HappyTreeShelf, a simple Java-based book shopping application with a graphical user interface built using Swing. This application allows users to browse and shop for books, add them to a shopping cart, view the cart, and check out their selections.

Table of Contents

Features

  • Add Books to Shopping Cart: Users can search for books by title and add them to their shopping cart. They can choose between e-books and physical copies if available.

  • View Shopping Cart: Users can view the contents of their shopping cart to see which books they have selected.

  • Remove Books from Shopping Cart: Users can remove books from their shopping cart one by one.

  • Checkout: When users are ready to complete their purchase, they can check out. The application calculates the total purchase amount based on the selected books.

  • List All Books: Users can view a list of all available books with details such as title, author, quantity, and e-book availability.

Getting Started

To get started with HappyTreeShelf on your local machine, follow these steps:

  1. Clone the repository to your local machine:

    git clone https://github.com/your-username/happytreeshelf.git
    
  2. Open the project in your preferred Java development environment (e.g., Eclipse, IntelliJ IDEA).

  3. Compile and run the Main.java file to launch the application.

Usage

Upon launching the application, you'll be greeted with a welcome message. Click "OK" to proceed.

2.Use the main menu to navigate through the application's features:

  • Add books to the shopping cart.
  • View the shopping cart.
  • Remove books from the shopping cart.
  • Checkout.
  • List all available books.
  • Quit the application.

3.Follow the on-screen instructions to interact with the application.

Screenshot

Welcomecancel Main menu Exception Exception 2 Defaultcase2 Defaultcase Case6 Case5 4 Case5 3 Case5 1 Case4 physical case4 ebook case3 case3 error Case2 Case1 Case1 1 7 Case1 1 6 Case1 1 3 Case1 1 1 Case 5 5 Case 5 2 Case 2 Case 2 error Case 1 2 Case 1 1 5 Case 1 1 4 WelcomeMessage

Contributing

Contributions to HappyTreeShelf are welcome! If you'd like to contribute to this project, please follow these steps:

  1. Fork the repository to your GitHub account.

  2. Create a new branch for your feature or bug fix:

    git checkout -b feature/your-feature-name
    
  3. Make your changes and commit them:

     git commit -m "Add your commit message here"
    

4.Push your changes to your forked repository:

  git commit -m "Add your commit message here"
  1. Create a pull request from your forked repository to the main project repository.

  2. Wait for review and approval from the project maintainers.

About

Problem Based Learning 2 | Semester 2 | Java Programming

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages