Skip to content

GrandBid is an immersive fantasy auction platform where users can participate in a wizarding-themed bidding experience.

License

Notifications You must be signed in to change notification settings

DinanathDash/GrandBid

πŸ§™β€β™‚οΈ GrandBid - Wizarding Auction League

GrandBid Logo

Where Magic Meets Strategy

A fantasy auction platform inspired by the wizarding world of Harry Potter

React Vite Firebase Tailwind CSS

πŸ“– Overview

GrandBid is an immersive fantasy auction platform where users can participate in a wizarding-themed bidding experience. The application allows users to take on different roles:

  • House Organizers: Create and manage magical tournaments and auctions
  • House Bidders: Build strategic teams by bidding on wizards
  • Wizard Players: Register as magical athletes showcasing talents and abilities

With a rich, magical UI featuring house-themed colors, animated elements, and an intuitive interface, GrandBid brings the wizarding auction experience to life.

✨ Features

🏰 Multi-Role Authentication System

  • House Organizers: Create and manage wizarding tournaments
  • House Bidders: Participate in magical auctions and build wizard teams
  • Wizard Players: Register and showcase magical abilities
  • Google OAuth Integration with Firebase Authentication

🎯 Core Functionality

  • Real-time Auction Dashboard: Live bidding interface with magical UI elements
  • Wizard Management: Comprehensive player profiles with stats and ratings
  • House Competition: Strategic team building and competition tracking
  • Responsive Design: Fully responsive magical interface with Harry Potter theming

🎨 Magical UI/UX

  • Harry Potter Inspired Design: Complete with house colors, magical particles, and themed animations
  • Radix UI Components: Modern, accessible component library with custom magical styling
  • Dark Theme: Immersive dark magical atmosphere with golden accents
  • Smooth Animations: Framer Motion powered animations and transitions

πŸš€ Getting Started

Prerequisites

  • Node.js 18+
  • npm or yarn
  • Firebase project (for authentication and database)

Installation

  1. Clone the repository

    git clone https://github.com/DinanathDash/GrandBid.git
    cd GrandBid
  2. Install dependencies

    npm install
  3. Environment Setup

    cp .env.example .env

    Update .env with your Firebase configuration:

    VITE_FIREBASE_API=your-api-key-here
    VITE_FIREBASE_AUTH_DOMAIN=your-project-id.firebaseapp.com
    VITE_FIREBASE_PROJECT_ID=your-project-id
    VITE_FIREBASE_STORAGE_BUCKET=your-project-id.appspot.com
    VITE_FIREBASE_MESSAGING_SENDER_ID=123456789
    VITE_FIREBASE_APP_ID=1:123456789:web:abcdefghijklmnop
    VITE_FIREBASE_MEASUREMENT_ID=G-ABCDEFGHIJ
  4. Start the development server

    npm run dev
  5. Open your browser Navigate to http://localhost:5173

πŸ› οΈ Tech Stack

Frontend

  • React 19.1.0 - Modern React with hooks and context
  • Vite 7.0.4 - Lightning-fast build tool and dev server
  • React Router DOM 7.7.0 - Client-side routing
  • Tailwind CSS 4.1.11 - Utility-first CSS framework
  • Framer Motion 12.23.6 - Animation library

UI Components

  • Radix UI - Accessible component primitives
  • Shadcn/ui - Beautiful, customizable components
  • Lucide React - Beautiful icon library
  • Styled Components - CSS-in-JS styling

Backend & Database

  • Firebase 12.0.0 - Backend-as-a-Service
    • Authentication (Email/Password, Google OAuth)
    • Firestore Database
    • Cloud Storage
    • Hosting

Development Tools

  • ESLint - Code linting with React-specific rules
  • PostCSS - CSS processing
  • Autoprefixer - CSS vendor prefixing

πŸ“‚ Project Structure

src/
β”œβ”€β”€ components/          # Reusable UI components
β”‚   β”œβ”€β”€ ui/             # Shadcn/ui components with magical theming
β”‚   β”œβ”€β”€ Footer.jsx      # Site footer with magical elements
β”‚   β”œβ”€β”€ Navigation.jsx  # Main navigation component
β”‚   β”œβ”€β”€ LoadingScreen.jsx
β”‚   └── ProtectedRoute.jsx
β”œβ”€β”€ pages/              # Page components
β”‚   β”œβ”€β”€ auth/           # Authentication pages
β”‚   β”‚   β”œβ”€β”€ BidderLogin.jsx
β”‚   β”‚   β”œβ”€β”€ OrganizerLogin.jsx
β”‚   β”‚   β”œβ”€β”€ PlayerLogin.jsx
β”‚   β”‚   └── PreSignUp.jsx
β”‚   β”œβ”€β”€ bidder/         # Bidder dashboard and features
β”‚   β”‚   β”œβ”€β”€ BidderApp.jsx
β”‚   β”‚   β”œβ”€β”€ Dashboard.jsx
β”‚   β”‚   β”œβ”€β”€ Navigation.jsx
β”‚   β”‚   β”œβ”€β”€ Players.jsx
β”‚   β”‚   └── PlayerInfo.jsx
β”‚   └── landing/        # Landing page sections
β”‚       β”œβ”€β”€ index.jsx
β”‚       β”œβ”€β”€ HeroSection.jsx
β”‚       β”œβ”€β”€ HowItWorksSection.jsx
β”‚       β”œβ”€β”€ ChooseRoleSection.jsx
β”‚       └── AboutSection.jsx
β”œβ”€β”€ contexts/           # React contexts
β”‚   └── AuthContext.jsx
β”œβ”€β”€ hooks/              # Custom React hooks
β”‚   β”œβ”€β”€ use-mobile.js
β”‚   β”œβ”€β”€ use-profile-image.js
β”‚   └── use-scrollbar-visibility.js
β”œβ”€β”€ lib/                # Utility libraries
β”‚   β”œβ”€β”€ auth.js         # Firebase authentication utilities
β”‚   β”œβ”€β”€ firebase.js     # Firebase configuration
β”‚   β”œβ”€β”€ smooth-scroll.js
β”‚   └── utils.js
β”œβ”€β”€ assets/             # Static assets
β”‚   β”œβ”€β”€ bg.jpg          # Background images
β”‚   β”œβ”€β”€ logo.png        # Application logo
β”‚   └── magical-quill.jpg
└── App.jsx             # Main application component

πŸ”’ Authentication Flow

The application implements a secure and intuitive authentication system:

  1. Role Selection: Users choose between Organizer, Bidder, or Player
  2. Registration/Login: Email/password or Google OAuth
  3. Profile Setup: Role-specific onboarding
  4. Dashboard Access: Role-specific interfaces

πŸ§™β€β™‚οΈ User Roles & Features

πŸ›οΈ House Organizers

  • Create and manage magical tournaments
  • Set up auction rules and wizard pools
  • Monitor live bidding activities
  • Generate reports and analytics

🎯 House Bidders

  • Dashboard: View ongoing auctions, spending analytics, and team performance
  • Wizard Roster: Browse available wizards, place bids, and manage your team
  • Player Profiles: Detailed wizard statistics and performance metrics
  • Real-time Bidding: Live auction interface with instant updates

⚑ Wizard Players

  • Create detailed magical profiles
  • Showcase spells, achievements, and statistics
  • Join tournaments and auctions
  • Track performance and ratings

🎨 Magical Design System

Color Palette

  • Primary: Magical gold/amber tones (#F59E0B, #D97706)
  • Background: Deep dark blues (#06131D, #0f172a)
  • House Colors:
    • Gryffindor: #DC2626 (Red)
    • Slytherin: #059669 (Green)
    • Ravenclaw: #2563EB (Blue)
    • Hufflepuff: #CA8A04 (Yellow)

Typography

  • Headers: Cinzel (Serif) - For magical, ancient feel
  • Body: Garamond - Classic, readable serif
  • UI Elements: Modern sans-serif for readability

Animations

  • Magical particle effects
  • Smooth page transitions
  • Hover animations with magical sparkles
  • Loading animations with themed elements

πŸš€ Deployment

Firebase Hosting (Recommended)

# Install Firebase CLI
npm install -g firebase-tools

# Login to Firebase
firebase login

# Initialize Firebase
firebase init

# Deploy
npm run build
firebase deploy

Other Platforms

  • Vercel: Connect GitHub repository for automatic deployments
  • Netlify: Drag and drop build folder or connect repository

πŸ› οΈ Available Scripts

# Development
npm run dev          # Start development server
npm run build        # Build for production
npm run preview      # Preview production build
npm run lint         # Run ESLint

🀝 Contributing

Contributions are welcome! Please check out our Contributing Guidelines for details on how to get started.

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

πŸ™ Acknowledgments

  • Harry Potter Universe - Inspiration for magical theming
  • Shadcn/ui - Beautiful component library
  • Radix UI - Accessible component primitives
  • Tailwind CSS - Utility-first CSS framework
  • Firebase - Backend infrastructure

Created with ✨ and πŸͺ„ by Team GrandBid

Β© 2025 GrandBid. All magical rights reserved.

About

GrandBid is an immersive fantasy auction platform where users can participate in a wizarding-themed bidding experience.

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published