Skip to content

Latest commit

 

History

History
70 lines (45 loc) · 1.53 KB

File metadata and controls

70 lines (45 loc) · 1.53 KB

Web-Based Code Editor and Compiler

This project is a web-based code editor and compiler, built using CodeMirror for code editing and CompileX for code compilation.

Features

Real-Time Code Editing

  • Utilizes CodeMirror to provide an interactive, syntax-highlighted code editor.
  • Supports multiple programming languages.

Code Compilation

  • Integrates CompileX for compiling and executing code on the server side.
  • Supports real-time compilation of code written in C, C++, Java, Python, and more.

Installation

Prerequisites

  • Node.js
  • npm (Node Package Manager)

Steps

  1. Clone the Repository:

    git clone https://github.com/govinddwivedi-git/CodeHorses
  2. Install Dependencies:

    npm install
  3. Start the Server:

    Nodemon Api.js
  4. Open in Browser:

    Navigate to http://localhost:8000 in your web browser.

Project Screenshots

Screenshot 1 Screenshot 2
Select language Python
Screenshot 3 Screenshot 4
C++ Java

Usage

  • Open the editor in your browser.
  • Select the programming language from the dropdown.
  • Write your code in the editor.
  • Use the buttons to run your code.
  • View the output in the designated output area.

Contributing

Contributions are welcome! Please fork the repository and submit a pull request.

License

This project is licensed under the MIT License.