GitHunt
YO

yogeshkumarsaini/Online-Auction-System

Console-based Online Auction System in Java with real-time bidding, countdown timer, admin auction creation, and bidder leaderboard.

๐Ÿท๏ธ Online Auction System

A console-based Online Auction System built in Java that simulates real-time bidding with multiple users, auction timers, and leaderboard ranking.

This project demonstrates core Java concepts such as OOP, Multithreading, Collections, and Auction Bidding Logic.


๐Ÿš€ Features

  • ๐Ÿ‘ค Multiple bidder support
  • ๐Ÿ” Admin login to create auctions
  • โฑ๏ธ Real-time countdown timer for auctions
  • ๐Ÿ’ฐ Dynamic bidding system
  • ๐Ÿ† Bidder leaderboard ranking
  • ๐Ÿ“Š Highest bid tracking
  • ๐Ÿ“ฆ Auction winner display
  • ๐Ÿง  Thread-based auction closing
  • ๐Ÿ“š Clean object-oriented project structure

๐Ÿงฑ Project Structure

OnlineAuctionSystem
โ”‚
โ”œโ”€โ”€ User.java
โ”œโ”€โ”€ Admin.java
โ”œโ”€โ”€ Bid.java
โ”œโ”€โ”€ Item.java
โ”œโ”€โ”€ AuctionManager.java
โ”œโ”€โ”€ CountdownTimer.java
โ””โ”€โ”€ Main.java

๐Ÿ› ๏ธ Technologies Used

  • Java
  • OOP (Object-Oriented Programming)
  • Multithreading
  • Java Collections (ArrayList)
  • Comparator Sorting
  • Console-based UI

โš™๏ธ How It Works

  1. Admin logs in to the system.
  2. Admin creates a new auction item.
  3. Auction timer starts automatically.
  4. Users place bids on the item.
  5. Highest bid is updated in real-time.
  6. When the timer ends, the auction closes.
  7. The highest bidder wins the item.
  8. Leaderboard shows top bidders.

โ–ถ๏ธ How to Run

  1. Clone the repository
git clone https://github.com/yogeshkumarsaini/online-auction-system-java.git
  1. Open the project in IntelliJ / Eclipse / VS Code

  2. Compile the files

javac *.java
  1. Run the program
java Main