Skip to content

Kabhi001/BIDMASTER

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

57 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🎯 BidMaster - Online Auction Platform

A modern, real-time auction platform built with React and Vite. Features a professional dark/light theme, live bidding, and comprehensive auction management.

React Vite TailwindCSS Socket.io

✨ Features

For Bidders

  • Browse live auctions across multiple categories (Watches, Art, Collectibles, Furniture, Electronics, Jewelry)
  • Real-time bidding with live price updates
  • Bid history tracking
  • User profile management
  • Auction countdown timers

For Auctioneers/Sellers

  • Create and manage auctions
  • Auctioneer dashboard with analytics
  • Three-minute rule auto-extension
  • Extend, cancel, or finalize auctions
  • Track bids across all listings

For Admins

  • User management and approval
  • Seller verification system
  • Commission rate configuration
  • Platform-wide auction oversight

UI/UX

  • Professional dark theme with 60-30-10 color rule (Black/White/Gold)
  • Fully responsive design (mobile-first)
  • Smooth animations and transitions
  • WCAG AAA accessibility compliance

πŸš€ Quick Start

πŸ–±οΈ One-Click Start (Fastest)

  • Double-click START_BIDMASTER.bat from the repo root. It launches backend + frontend and opens the browser automatically.

⚑ New User? Start Here!

For complete setup instructions, see:

Prerequisites

  • Node.js 18+
  • MongoDB (Atlas or Local)
  • npm or yarn

Basic Setup

1. Setup MongoDB (choose one):

2. Backend Setup:

cd backend
npm install
# Create .env file with MongoDB connection string
npm run dev

3. Frontend Setup:

cd project1
npm install
npm run dev

4. Seed Database (optional):

cd backend
node seed.js

5. Open: http://localhost:5174

Test Accounts (after seeding)

  • Admin: admin@auction.com / admin123
  • Seller: seller1@auction.com / seller123
  • Bidder: bidder1@auction.com / bidder123

Useful Commands

  • Backend: cd backend && npm run dev
  • Frontend: cd project1 && npm run dev
  • Seed data: cd backend && node seed.js

Old Installation Method (Frontend Only)

# Clone the repository
git clone https://github.com/Prashant730/BidMaster.git

# Navigate to project directory
cd BidMaster/project1

# Install dependencies
npm install

# Start development server
npm run dev

The app will be available at http://localhost:5173

Build for Production

npm run build
npm run preview

πŸ› οΈ Tech Stack

  • Frontend: React 19, React Router DOM
  • Build Tool: Vite 7
  • Styling: TailwindCSS 3.4, Custom CSS
  • Real-time: Socket.io Client
  • HTTP Client: Axios
  • Linting: ESLint 9

πŸ“ Project Structure

project1/
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ components/          # React components
β”‚   β”‚   β”œβ”€β”€ Header.jsx       # Navigation header
β”‚   β”‚   β”œβ”€β”€ Hero.jsx         # Landing hero section
β”‚   β”‚   β”œβ”€β”€ AuctionGrid.jsx  # Auction listings grid
β”‚   β”‚   β”œβ”€β”€ AuctionDetail.jsx # Single auction view
β”‚   β”‚   β”œβ”€β”€ CreateAuction.jsx # Auction creation form
β”‚   β”‚   β”œβ”€β”€ LoginModal.jsx   # Authentication modal
β”‚   β”‚   β”œβ”€β”€ UserProfile.jsx  # User profile page
β”‚   β”‚   β”œβ”€β”€ Admin.jsx        # Admin dashboard
β”‚   β”‚   β”œβ”€β”€ AuctioneerDashboard.jsx # Seller dashboard
β”‚   β”‚   └── ...
β”‚   β”œβ”€β”€ context/             # React Context providers
β”‚   β”œβ”€β”€ services/            # API services
β”‚   β”œβ”€β”€ index.css            # Global styles
β”‚   └── dark-theme-professional.css # Dark theme
β”œβ”€β”€ public/                  # Static assets
└── package.json

🧭 Documentation Map

🎨 Theme

The app features a professional dark theme following the 60-30-10 design rule:

  • 60% Black: Backgrounds (#000000, #111111)
  • 30% White/Gray: Text (#ffffff, #e5e7eb)
  • 10% Gold: Accents (#fbbf24) - prices, badges, CTAs

πŸ‘€ User Roles

Role Access
Bidder Browse auctions, place bids, view profile
Auctioneer Create auctions, manage listings, track bids
Admin Full platform access, user management, approvals

Demo Login

  • Regular user: user@example.com
  • Admin: admin@admin.com
  • Seller: seller@seller.com

πŸ“œ Scripts

Command Description
npm run dev Start development server
npm run build Build for production
npm run preview Preview production build
npm run lint Run ESLint

🌐 Deployment

The project includes Vercel configuration for easy deployment:

# Deploy to Vercel
vercel --prod

πŸ“„ License

MIT License

🀝 Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

Built with ❀️ by Prashant- Bid history tracking

  • User profile management
  • Auction countdown timers

For Auctioneers/Sellers

  • Create and manage auctions
  • Auctioneer dashboard with analytics
  • Three-minute rule auto-extension
  • Extend, cancel, or finalize auctions
  • Track bids across all listings

For Admins

  • User management and approval
  • Seller verification system
  • Commission rate configuration
  • Platform-wide auction oversight

UI/UX

  • Professional dark theme with 60-30-10 color rule (Black/White/Gold)
  • Fully responsive design (mobile-first)
  • Smooth animations and transitions
  • WCAG AAA accessibility compliance

πŸš€ Quick Start

⚑ New User? Start Here!

For complete setup instructions, see:

Prerequisites

  • Node.js 18+
  • MongoDB (Atlas or Local)
  • npm or yarn

Basic Setup

1. Setup MongoDB (choose one):

2. Backend Setup:

cd backend
npm install
# Create .env file with MongoDB connection string
npm run dev

3. Frontend Setup:

cd project1
npm install
npm run dev

4. Seed Database (optional):

cd backend
node seed.js

5. Open: http://localhost:5174

Old Installation Method (Frontend Only)

# Clone the repository
git clone https://github.com/Prashant730/BidMaster.git

# Navigate to project directory
cd BidMaster/project1

# Install dependencies
npm install

# Start development server
npm run dev

The app will be available at http://localhost:5173

Build for Production

npm run build
npm run preview

πŸ› οΈ Tech Stack

  • Frontend: React 19, React Router DOM
  • Build Tool: Vite 7
  • Styling: TailwindCSS 3.4, Custom CSS
  • Real-time: Socket.io Client
  • HTTP Client: Axios
  • Linting: ESLint 9

πŸ“ Project Structure

project1/
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ components/          # React components
β”‚   β”‚   β”œβ”€β”€ Header.jsx       # Navigation header
β”‚   β”‚   β”œβ”€β”€ Hero.jsx         # Landing hero section
β”‚   β”‚   β”œβ”€β”€ AuctionGrid.jsx  # Auction listings grid
β”‚   β”‚   β”œβ”€β”€ AuctionDetail.jsx # Single auction view
β”‚   β”‚   β”œβ”€β”€ CreateAuction.jsx # Auction creation form
β”‚   β”‚   β”œβ”€β”€ LoginModal.jsx   # Authentication modal
β”‚   β”‚   β”œβ”€β”€ UserProfile.jsx  # User profile page
β”‚   β”‚   β”œβ”€β”€ Admin.jsx        # Admin dashboard
β”‚   β”‚   β”œβ”€β”€ AuctioneerDashboard.jsx # Seller dashboard
β”‚   β”‚   └── ...
β”‚   β”œβ”€β”€ context/             # React Context providers
β”‚   β”œβ”€β”€ services/            # API services
β”‚   β”œβ”€β”€ index.css            # Global styles
β”‚   └── dark-theme-professional.css # Dark theme
β”œβ”€β”€ public/                  # Static assets
└── package.json

🎨 Theme

The app features a professional dark theme following the 60-30-10 design rule:

  • 60% Black: Backgrounds (#000000, #111111)
  • 30% White/Gray: Text (#ffffff, #e5e7eb)
  • 10% Gold: Accents (#fbbf24) - prices, badges, CTAs

πŸ‘€ User Roles

Role Access
Bidder Browse auctions, place bids, view profile
Auctioneer Create auctions, manage listings, track bids
Admin Full platform access, user management, approvals

Demo Login

  • Regular user: user@example.com
  • Admin: admin@admin.com
  • Seller: seller@seller.com

πŸ“œ Scripts

Command Description
npm run dev Start development server
npm run build Build for production
npm run preview Preview production build
npm run lint Run ESLint

🌐 Deployment

The project includes Vercel configuration for easy deployment:

# Deploy to Vercel
vercel --prod

πŸ“„ License

MIT License

🀝 Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

Built with ❀️ by Prashant

About

⚑Real-time auction platform | βš›οΈ React/Vite | 🏷️ Live bidding | πŸŒ— Dark/Light UI | πŸ‘₯ Bidders/Sellers/Admins

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages