Giter VIP home page Giter VIP logo

judge's Introduction

Codify

Demo Video

Check out the demo video for a quick overview of Codify:

Codify Demo

Project Description

Codify is a full-stack web application inspired by LeetCode, designed to provide a platform for programmers to practice and improve their coding skills. It offers features like:

  • Remote Code Execution: Users can write code in a secure code editor, submit it for execution, and receive results and verdicts.
  • Custom Test Cases: Users can create and run their own test cases to validate their code's functionality.
  • Language Support: Currently supports Python and C++.
  • Submission Storage: Submitted code, verdicts, and user information are stored in the database for future reference.
  • Concurrent Request Handling: Employs Bull Queue based on Redis to efficiently manage numerous concurrent requests.

Technologies Used

  • Frontend: React JS, Redux Toolkit, Monaco Editor
  • Backend: Node.js, Express.js, MongoDB
  • Authentication: JWT
  • Message Queue: Bull Queue (Redis)

Getting Started

Prerequisites:

  • Node.js and npm (or yarn) installed
  • MongoDB database

Backend Setup:

  1. Clone the repository: git clone https://github.com/RajSahu1331/Judge.git
  2. Navigate to the backend directory: cd server
  3. Install dependencies: npm install
  4. Start the server: nodemon app.js

Frontend Setup:

  1. Navigate to the frontend directory: cd client
  2. Install dependencies: npm install
  3. Start the development server: npm run dev

Usage

  1. Access the application in your browser (default: http://localhost:3000).
  2. Sign up or log in using JWT authentication.
  3. Choose a programming language (currently Python or C++).
  4. Write your code in the code editor.
  5. Create and run custom test cases (optional).
  6. Click "Submit" to execute the code and receive results and verdict.

Design Diagram

Design Diagram

Additional Notes:

  • For detailed instructions and usage examples, refer to the project's documentation or code comments.
  • Feel free to contribute to the project by creating pull requests.

Future Enhancements:

  • Considering adding support for more programming languages.
  • Implementing more advanced features like code optimization suggestions and plagiarism detection.
  • Explore containerization and deployment options for scalability using Docker and AWS Lambda Instance.

judge's People

Contributors

rajsahu1331 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.