A comprehensive web platform for managing gaming tournaments with advanced features and Discord integration.
- Tournament Registration
- View Tournament Brackets
- Check Personal Statistics
- Join/Leave Tournaments
- View Tournament Status
- Live Match Updates
- Create and Manage Tournaments
- Generate Tournament Brackets
- Start/End Tournaments
- Cancel Tournaments
- Manage Participants
- Discord Integration for Notifications
- Advanced Analytics Dashboard
- Player Performance Tracking
- Tournament History
- Win/Loss Ratios
- Ranking Systems
- Custom Report Generation
- Frontend: React.js
- Backend: Node.js with Express
- Database: MongoDB
- Real-time Updates: Socket.io
- Authentication: JWT
- Discord Integration: Discord.js
- Clone the repository
- Install dependencies:
cd tournament-hub npm install
- Set up environment variables in
.env
:DATABASE_URL=your_mongodb_url JWT_SECRET=your_secret_key DISCORD_BOT_TOKEN=your_discord_bot_token
- Start the development server:
npm run dev
To connect the admin panel with Discord:
- Create a Discord application and bot at https://discord.com/developers/applications
- Add the bot token to your
.env
file - Invite the bot to your server using the OAuth2 URL generator
- Use the admin panel to configure which events should trigger Discord notifications
POST /api/tournaments
: Create a new tournamentGET /api/tournaments
: List all tournamentsGET /api/tournaments/:id
: Get tournament detailsPOST /api/tournaments/:id/join
: Join a tournamentPOST /api/tournaments/:id/leave
: Leave a tournamentGET /api/users/:id/stats
: Get user statistics
We welcome contributions! Please follow these steps:
- Fork the repository
- Create your feature branch:
git checkout -b feature/AmazingFeature
- Commit your changes:
git commit -m 'Add some AmazingFeature'
- Push to the branch:
git push origin feature/AmazingFeature
- Open a pull request