BidHub is a real-time auction platform where users can join live auctions and place bids.
Note
The core backend challenges — real-time auction state, WebSocket architecture, race condition handling, and auth design — are documented in the Backend Repository →
LIVE.AUCTION.SYSTEM._.Full.Demo.Features._.2026_1080p60.mp4
Built to handle the core challenges of a live bidding system:
- Two token system (refresh and access tokens) - Silent token refresh via axios interceptors (no login interruptions for users).
- Redis-backed live auction state with WebSocket room management.
- Atomic Lua scripts for race-condition-proof bid validation.
- BullMQ background workers for async job processing.
| Layer | Technology |
|---|---|
| Frontend | Next.js 15 (App Router), TypeScript, shadcn/ui |
| Auth | Google OAuth 2.0, JWT (Access + Refresh tokens), Axios Interceptors |
| Realtime | WebSockets (ws), Redis |
| Atomic Operations | Redis Lua Scripts |
| Backend | Node.js, Express, TypeScript, Prisma ORM |
| Queue | BullMQ + Redis (background job processing) |
| Database | PostgreSQL (Neon) |
| Deployment | Vercel (frontend) · Render (backend) · Redis Cloud |