This is an online judge platform developed as part of the AlgoUniversity Dev Season. The platform allows users to submit code solutions for various programming problems and receive feedback on their solutions. The Online Judge Platform is designed to facilitate competitive programming and coding challenges. Users can submit their code, which will be evaluated against predefined test cases. The platform is built using the MERN stack (MongoDB, Express.js, React.js, Node.js).
-
Clone Repository: Clone the repository to your local machine.
git clone <repository_url>
-
Navigate to Backend Directory: Move into the backend directory.
cd Backend -
Install Dependencies: Install the required dependencies.
npm install
-
Setup Environment Variables: Create a
.envfile in the root of the backend directory and add your environment variables.MONGOOSE_API_KEY=<mongo URI> JWT_ACCESS_KEY=<jwt access key> JWT_SECRET_KEY=<jwt secret key> NODE_ENV=development -
Start Backend Server: Start the backend server.
npm run dev
-
Navigate to Frontend Directory: Move into the frontend directory.
cd Frontend/online-judge -
Install Dependencies: Install the required dependencies.
npm install
-
**Setup Dotenv file **:
REACT_APP_BACK_END_URL = http://localhost:3000 PORT=3001 -
Start Frontend Server: Start the frontend server.
npm start
-
Access the Application: Access the application at
http://localhost:<port>in your web browser.
- Bhavya Surana
- Bhavesh Garg