ByteBattle is a powerful, AI-driven coding platform built to help you master data structures and algorithms, excel in technical interviews, and compete globally. Whether you're a beginner or a seasoned coder, ByteBattle provides everything you need to practice, learn, and grow — all in one place.
-
📚 Extensive Problem Library Solve hundreds of curated DSA problems with detailed explanations and multiple test cases.
-
🤖 AI-Powered Doubt Assistance Instantly get help with problems using ByteBattle’s built-in AI assistant powered by Google Generative AI (Gemini).
-
🧠 AI Mock Interviews Simulate technical interviews with intelligent AI for realistic preparation.
-
⚔️ Live Coding Contests Participate in time-based challenges and compete with a global community of developers.
-
📈 Real-Time Leaderboards Track your rankings and performance instantly during contests.
-
📊 Personalized Dashboard Monitor your progress with visual tools like heatmaps, submission history, and performance analytics.
-
🎥 Video Explanations Understand complex problems through high-quality video tutorials.
-
💬 Discussion Forums Engage with the community, ask questions, and share your knowledge.
-
🔐 Secure Authentication Login securely with email verification or Google OAuth.
-
🛠️ Admin Panel Manage users, problems, contests, and platform analytics with a dedicated admin dashboard.
- Framework: React.js
- UI & Styling: Tailwind CSS, DaisyUI, GSAP, Motion
- State Management: Redux Toolkit
- Routing: React Router
- Forms & Validation: React Hook Form, Zod
- Editor: Monaco Editor
- API Client: Axios
- Real-Time Communication: Socket.IO Client
- Build Tool: Vite
- Framework: Express.js
- Database: MongoDB + Mongoose
- Authentication: JWT, bcrypt, Google Auth
- AI Integration: Google Generative AI (Gemini)
- File Storage: Cloudinary, Multer
- Payment Gateway: Razorpay
- Email Service: Nodemailer
- Caching: Redis
- Input Validation: Validator.js
- Real-Time: Socket.IO
- Node.js (v18+)
- npm or yarn
- MongoDB instance (local/cloud)
- Git
-
Clone the repository
git clone https://github.com/anuragpy07/bytebattle.git cd bytebattle -
Setup Backend
cd backend npm install-
Create a
.envfile in thebackendfolder (use.env.examplefor reference). -
Start the server:
npm start
-
-
Setup Frontend
cd ../frontend npm install-
Create
.env.developmentand.env.productionin thefrontendfolder. -
Start the dev server:
npm run dev
-
-
Open your browser: Visit www.bytebattle.live
We ❤️ contributions! Here’s how to contribute:
- Fork the repository
- Create a feature branch
git checkout -b https://github.com/anuragpy07/bytebattle - Commit your changes
git commit -m "Add: your feature" - Push to your branch
git push origin feature/your-feature-name - Create a Pull Request
Please ensure your code is well-tested and clean before submission.
This project is licensed under the MIT License. Feel free to use, modify, and distribute with proper credit.
Made with ❤️ by the ByteBattle
Let me know if you want a GitHub-level badges section, a demo preview section, or a deployment guide (e.g., for Vercel/Render/Heroku) — I can add that too.