HYDRO2070/Code-Rush

Repository files navigation

CodeRush is a dynamic, full-stack coding platform that enables users to solve programming challenges across multiple languages: C++, JavaScript, Python, and Java. With topic-based question generation, live code execution via Docker containers, and immersive visuals powered by Three.js, CodeRush helps you learn, practice, and grow—smarter and faster.


CodeRush Banner

  • 🎯 Topic-Based Coding Challenges

    • Select a topic (e.g., arrays, loops, recursion) and receive randomized questions based on it.
  • 💻 Multi-Language Code Execution

    • Supports C++, JavaScript, Python, and Java with secure, isolated runtime environments powered by Docker.
  • 🧠 Smart Progress Tracking

    • Track your solved problems and view historical data to monitor improvement.
  • 👤 User Profiles

    • Store individual user activity, languages used, and topic mastery for personalized growth.
  • 🌀 3D-Enhanced UI

    • Built with React Three Fiber and Three.js to deliver a modern, immersive experience.

LayerTechnology Used
FrontendNext.js, React, Redux, TailwindCSS
3D EngineThree.js, React Three Fiber
BackendNode.js, Express.js
DatabaseMongoDB
Code RuntimeDocker (language-specific containers)
AuthJWT / OAuth (based on implementation)

  • Node.js v18+
  • Docker
  • MongoDB (local or Atlas)
  • npm / yarn
# Clone the repository
git clone https://.com/HYDRO2070/coderush.git
cd coderush

# Install frontend & backend dependencies
npm install

# Copy environment variables
cp .env.example .env

# Start Docker daemon
docker --version  # Ensure Docker is running

# Start development server
npm run dev

💡 Make sure your .env includes:

MONGO_URI=your_mongodb_uri
JWT_SECRET=your_jwt_secret
DOCKER_SOCKET=/var/run/docker.sock
PORT=5000

  1. User selects a topic and language.
  2. A random question is pulled from the database based on the selected topic.
  3. The user writes code in the in-browser editor.
  4. Code is sent to the backend and executed inside a Docker container for that language.
  5. Output or errors are returned in real time.

  • Docker-based isolated code execution
  • AI-based hint system and solution feedback
  • Leaderboards and community challenges
  • Light/Dark mode and editor theming
  • Mobile-first responsive design
  • Time-based coding contests

We welcome all contributions, big or small!

# Fork the repo
# Create your feature branch
git checkout -b feature/YourFeature

# Commit your changes
git commit -m "Add YourFeature"

# Push and create a pull request
git push origin feature/YourFeature

🔗 Coming Soon – Stay Tuned!

About

CodeRush is a dynamic, full-stack coding platform that enables users to solve programming challenges across multiple languages: C++, JavaScript, Python, and Java. With topic-based question generation, live code execution via Docker containers, and immersive visuals powered by Three.js.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •