Skip to content

anuragpy07/ByteBattle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation


🚀 ByteBattle – Your Ultimate Coding Platform

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.


✨ Key Features

  • 📚 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.


🧪 Tech Stack

🖥️ Frontend

  • 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

⚙️ Backend

  • 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

🛠️ Getting Started

🔧 Prerequisites

  • Node.js (v18+)
  • npm or yarn
  • MongoDB instance (local/cloud)
  • Git

⚙️ Installation

  1. Clone the repository

    git clone https://github.com/anuragpy07/bytebattle.git
    cd bytebattle
  2. Setup Backend

    cd backend
    npm install
    • Create a .env file in the backend folder (use .env.example for reference).

    • Start the server:

      npm start
  3. Setup Frontend

    cd ../frontend
    npm install
    • Create .env.development and .env.production in the frontend folder.

    • Start the dev server:

      npm run dev
  4. Open your browser: Visit www.bytebattle.live


🤝 Contributing

We ❤️ contributions! Here’s how to contribute:

  1. Fork the repository
  2. Create a feature branch git checkout -b https://github.com/anuragpy07/bytebattle
  3. Commit your changes git commit -m "Add: your feature"
  4. Push to your branch git push origin feature/your-feature-name
  5. Create a Pull Request

Please ensure your code is well-tested and clean before submission.


📄 License

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.

About

Resources

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages