This project is a web-based code editor and compiler, built using CodeMirror for code editing and CompileX for code compilation.
- Utilizes CodeMirror to provide an interactive, syntax-highlighted code editor.
- Supports multiple programming languages.
- 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.
- Node.js
- npm (Node Package Manager)
-
Clone the Repository:
git clone https://github.com/govinddwivedi-git/CodeHorses
-
Install Dependencies:
npm install
-
Start the Server:
Nodemon Api.js
-
Open in Browser:
Navigate to
http://localhost:8000
in your web browser.
![]() |
![]() |
---|---|
Select language | Python |
![]() |
![]() |
---|---|
C++ | Java |
- 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.
Contributions are welcome! Please fork the repository and submit a pull request.
This project is licensed under the MIT License.