Mission-Driven, Livestream-Powered, Social Competition Platform
- Authentication: NextAuth.js with role-based access (Admin, Organizer, User)
- Mission System: Dynamic mission feed with filtering and submission system
- 1v1 Battles: Real-time matchmaking with dual livestream interface
- Leaderboards: Global and filtered rankings with comprehensive stats
- Profile System: User profiles with badges, stats, and activity tracking
- Admin Dashboard: Mission management, submission review, user administration
- Tactical UI: Military HUD aesthetic with scan lines and glitch effects
- Font: IBM Plex Mono for that authentic terminal feel
- Color Scheme: Matrix green (#00ff41) with tactical orange accents
- Animations: Glitch effects, battle-live pulsing, and smooth transitions
- Framework: Next.js 15 with App Router
- Language: TypeScript
- Styling: Tailwind CSS with custom tactical classes
- Database: Prisma ORM with PostgreSQL
- Authentication: NextAuth.js
- UI Components: Radix UI primitives
- File Upload: UploadThing
- Streaming: Mux integration ready
- Real-time: Socket.io integration ready
- Install dependencies:
npm install- Set up environment variables:
Update
.env.localwith your values:
# Database
DATABASE_URL="postgresql://username:password@localhost:5432/badger_db"
# NextAuth.js
NEXTAUTH_URL="http://localhost:3000"
NEXTAUTH_SECRET="your-secret-key-here"
# Add your OAuth providers, UploadThing, and Mux credentials
# Mapbox (for tactical battle map)
NEXT_PUBLIC_MAPBOX_ACCESS_TOKEN="your-mapbox-token-here"- Set up the database:
npx prisma migrate dev --name init
npx prisma generate- Run the development server:
npm run devVisit http://localhost:3001 to see the tactical interface in action!
The app includes comprehensive models for:
- Users: Authentication, stats, social features
- Missions: Categories, difficulty levels, proof requirements
- Submissions: File uploads, review system, scoring
- Battles: 1v1 matchmaking, scoring, streaming
- Badges: Achievement system with rarity tiers
- Social: Following system, leaderboards
- Sign up and complete your operator profile
- Browse and accept missions from the tactical feed
- Submit proof (photo/video/livestream) for review
- Challenge opponents in 1v1 battles
- Climb the leaderboards and earn badges
- Create and manage missions
- Review submissions and moderate content
- Launch battle events and tournaments
- Full platform oversight via Command Center
- User management and role assignment
- Content moderation and system monitoring
components/missions/- Mission feed and submission systemcomponents/battles/- Matchmaking and battle interfacecomponents/leaderboard/- Ranking system with filterscomponents/profile/- User profiles and statscomponents/admin/- Administrative dashboard
.tactical-grid- Matrix-style background grid.hud-border- Military HUD border styling.status-active,.status-pending,.status-danger- Status indicators.battle-live- Pulsing live battle indicator.scan-lines- CRT-style scan line overlay
The app is ready for deployment on Vercel, Netlify, or any Node.js hosting platform.
- Set up your production database
- Configure environment variables
- Run database migrations
- Deploy!
- Live streaming integration with Mux
- Real-time notifications with Socket.io
- Mobile app companion
- Tournament bracket system
- Advanced analytics dashboard
- Integration with fitness trackers
- Multi-language support
Built for the mission. Engineered for victory. 🛡️
Operation Badger - Where every challenge becomes a conquest.