Online-Judge

Online Judge Project (MERN Stack)

image

This is a comprehensive Online Judge project built using the MERN (MongoDB, Express.js, React.js, Node.js) stack. The project provides a platform for hosting coding competitions, practicing coding problems, and evaluating submissions. It is designed to facilitate the evaluation of programming skills and improve problem-solving capabilities.

Features

  • User authentication and registration
  • Coding competition creation and management
  • Practice coding problems with different difficulty levels
  • Submission evaluation and scoring
  • Leaderboard for competitions
  • Code editor
  • Admin dashboard for managing users, competitions, and problems

Demo

Homepage

omk

Register/Signup Page

image

Login/SignIn Page

image

Problem Page

image

Indiviual Problem :

image image

Coding Arena

image

Flexibility of Programming Language and More

image

LeaderBoard (Tested with live Users)

image

Technologies Used

  • Frontend: React.js
  • Backend: Node.js, Express.js, MongoDB

Installation

  1. Clone the repository:

  2. Navigate to the project directory:

    cd online-judge
  3. Install the dependencies for both the frontend and backend:

    cd frontend
    npm install
    cd ../backend
    npm install
  4. Configure the environment variables:

    • Create a .env file in the backend directory.
    • Add the necessary environment variables in the .env file. For example:
    PORT=5000
    MONGODB_URI=<your-mongodb-uri>
  5. Start the development servers:

    # Start the backend server
      cd backend
      npm start
    
    # Start the frontend development server in a new terminal window
      cd frontend
      npm start