India's most trusted Free Fire tournament registration and management platform.
Download and install from: https://nodejs.org (LTS version)
After installing, restart your terminal/PowerShell.
Open a terminal in c:\Users\aalok\project\tournament\ and run:
# Frontend
npm install
# Backend
cd backend && npm install && cd ..- Go to Firebase Console
- Create a new project → Enable Google Authentication
- Enable Firestore (test mode initially)
- Go to Project Settings → Your Apps → Add Web App
- Copy the credentials into a
.envfile (see below)
Create .env in the project root:
# Copy from .env.example and fill in your values
cp .env.example .envFill in all the VITE_FIREBASE_* values from Firebase Console.
# Terminal 1 — Frontend (Vite dev server)
npm run dev
# Terminal 2 — Backend (Express API)
cd backend && node server.jsVisit http://localhost:5173 to see BlazeFire Arena!
| Feature | Status |
|---|---|
| Google Sign-In | ✅ Complete |
| Free Fire UID Linking | ✅ Complete |
| Tournament Browsing + Filters | ✅ Complete |
| Real-time Slot Tracking | ✅ Complete |
| Countdown Timers | ✅ Complete |
| Registration Flow (5 steps) | ✅ Complete |
| Fampay Payment Integration | ✅ Complete (activate with API key) |
| Gift Card System | ✅ Complete |
| Redeem Code System | ✅ Complete |
| Wallet Payments | ✅ Complete |
| Admin Login (JWT protected) | ✅ Complete |
| Admin Dashboard (8 tabs) | ✅ Complete |
| Tournament Creation | ✅ Complete |
| Participant Management + CSV | ✅ Complete |
| Room ID Release | ✅ Complete |
| Push Notifications (FCM) | ✅ Complete |
| Leaderboard | ✅ Complete |
| Responsive (Mobile-first) | ✅ Complete |
Navigate to: http://localhost:5173/admin
Default credentials (change in .env):
- Username:
blazefire_admin - Password:
BF@Secure2025!
- Register at https://fampay.in/business
- Get your API key from the merchant dashboard
- Add to your
.env:FAMPAY_API_KEY=your_key_here FAMPAY_MERCHANT_ID=your_merchant_id - Uncomment the Fampay API call in
backend/routes/payment.js
npm run build # Creates optimized dist/ folder
firebase deploy # Deploy to Firebase Hostingtournament/
├── src/
│ ├── components/
│ │ ├── admin/ # AdminLogin, AdminDashboard
│ │ ├── auth/ # FreefireIDModal, ProtectedRoute
│ │ ├── home/ # Hero, Features, HowItWorks, etc.
│ │ ├── layout/ # Navbar, Footer, Layout
│ │ ├── tournament/ # TournamentCard, RegistrationModal
│ │ └── ui/ # Button, Modal, Toast, Timer, etc.
│ ├── constants/ # gameRules, adminConfig
│ ├── hooks/ # useAuth, useTournaments
│ ├── pages/ # HomePage, TournamentsPage, etc.
│ ├── services/ # Firebase services
│ ├── store/ # Zustand stores
│ ├── types/ # TypeScript types
│ └── utils/ # formatters, validators
└── backend/
├── routes/ # admin.js, payment.js, tournament.js
├── middleware/ # JWT auth
└── server.js
This platform is for skill-based competitions. Please ensure compliance with local laws regarding online competitions in your region.