Where Magic Meets Strategy
A fantasy auction platform inspired by the wizarding world of Harry Potter
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.
- 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
- 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
- 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
- Node.js 18+
- npm or yarn
- Firebase project (for authentication and database)
-
Clone the repository
git clone https://github.com/DinanathDash/GrandBid.git cd GrandBid -
Install dependencies
npm install
-
Environment Setup
cp .env.example .env
Update
.envwith 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
-
Start the development server
npm run dev
-
Open your browser Navigate to
http://localhost:5173
- 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
- Radix UI - Accessible component primitives
- Shadcn/ui - Beautiful, customizable components
- Lucide React - Beautiful icon library
- Styled Components - CSS-in-JS styling
- Firebase 12.0.0 - Backend-as-a-Service
- Authentication (Email/Password, Google OAuth)
- Firestore Database
- Cloud Storage
- Hosting
- ESLint - Code linting with React-specific rules
- PostCSS - CSS processing
- Autoprefixer - CSS vendor prefixing
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
The application implements a secure and intuitive authentication system:
- Role Selection: Users choose between Organizer, Bidder, or Player
- Registration/Login: Email/password or Google OAuth
- Profile Setup: Role-specific onboarding
- Dashboard Access: Role-specific interfaces
- Create and manage magical tournaments
- Set up auction rules and wizard pools
- Monitor live bidding activities
- Generate reports and analytics
- 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
- Create detailed magical profiles
- Showcase spells, achievements, and statistics
- Join tournaments and auctions
- Track performance and ratings
- 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)
- Headers: Cinzel (Serif) - For magical, ancient feel
- Body: Garamond - Classic, readable serif
- UI Elements: Modern sans-serif for readability
- Magical particle effects
- Smooth page transitions
- Hover animations with magical sparkles
- Loading animations with themed elements
# Install Firebase CLI
npm install -g firebase-tools
# Login to Firebase
firebase login
# Initialize Firebase
firebase init
# Deploy
npm run build
firebase deploy- Vercel: Connect GitHub repository for automatic deployments
- Netlify: Drag and drop build folder or connect repository
# Development
npm run dev # Start development server
npm run build # Build for production
npm run preview # Preview production build
npm run lint # Run ESLintContributions are welcome! Please check out our Contributing Guidelines for details on how to get started.
This project is licensed under the MIT License - see the LICENSE file for details.
- 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.
