Skip to main content
Web & Real-Time

Vehicle Bidding System

Vehicle Bidding System

The Web-based Vehicle Bidding System is a comprehensive online marketplace engineered for Lanka Auto Traders (Pvt) Ltd to digitize and optimize second-hand and reconditioned vehicle sales. Built to accommodate buyers, sellers, and administrators within a unified ecosystem, the platform streamlines the bidding process, ensures auction integrity, and facilitates post-auction transactions.

The system features an automated Auction Management engine that manages vehicle listings and bidding schedules. By using Spring's task scheduling, the backend automatically transitions auctions from pending states to active bidding, and then to closure at pre-scheduled times, resolving winners dynamically based on the highest bid recorded in the database.

To prevent bot exploits and sniper bidding, the platform implements an intelligent 'anti-sniping' extension system. If a bid is submitted in the final 30 seconds of an active auction, the engine automatically extends the closing window by 30 seconds. Real-time updates are driven by a WebSocket messaging architecture configured with SockJS and STOMP, pushing bid changes and timer updates instantly to all connected clients. On the client side, dynamic ES6 JavaScript countdown timers update the user interface seamlessly without full-page refreshes, using visual color transitions to reflect time urgency.

Complementing the real-time core, the platform includes structured administration tools with role-based access control (RBAC), allowing Sales Managers and Admin Officers to override timers, manually manage listing approvals, and monitor system metrics. The integration of Spring Security and JPA-managed entity relationships with a Microsoft SQL Server database ensures robust transactional consistency and system security.

The Challenge

Traditional vehicle auctions suffer from manual scheduling overhead, lack of real-time transparency for remote buyers, and vulnerability to automated sniping bots that compromise bid fairness in the final seconds.

The Solution

The platform addresses these issues by combining automated cron-like lifecycle schedulers, real-time STOMP WebSockets, and a dynamic anti-sniping engine that automatically extends the bidding window when last-second activity is detected.

Key Capabilities

Real-time bid synchronization and instant status updates powered by STOMP over WebSockets.

Automated auction scheduling and lifecycle management using Spring's task execution schedulers.

Anti-sniping protection that extends active bidding by 30 seconds when bids are placed in the final moments.

Dynamic client-side countdown timers featuring color-coded visual cues based on bidding urgency.

Multi-role administrator panel with override endpoints to manually start, edit, or terminate auctions.

Secure authentication and authorization using Spring Security for buyers, sellers, and admin officers.

Visuals

Vehicle Bidding System screenshot 1
Vehicle Bidding System screenshot 2
Vehicle Bidding System screenshot 3

Project Meta

  • Category

    Web & Real-Time

  • Tech Stack

    Spring BootJavaMS SQL ServerSpring SecurityWebSocketsSTOMPSockJSThymeleafHibernate / JPALombok
  • Repository

    Source Code

Continue Exploring

All Projects