Coder Social home page Coder Social logo

alvarotorrestx / customcodeeditor Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dhanushnehru/customcodeeditor

0.0 0.0 0.0 2.17 MB

Custom code editor

Home Page: https://custom-code-editor.vercel.app/

License: Apache License 2.0

JavaScript 64.89% CSS 12.59% HTML 22.53%

customcodeeditor's Introduction

Custom Code Builder

Custom Code Editor (1) (2) (1) (1)-min dn (1)

This project is a React-based code builder that utilizes the Monaco Editor. It allows users to write and execute code snippets within a web browser. It uses Judge0 as a code execution system

Getting Started

Follow these instructions to get the project up and running on your local machine.

Prerequisites

Node.js installed on your machine npm or yarn package manager

Installation

Clone the repository to your local machine:

git clone <repository-url>

Install dependencies using npm or yarn: bash

npm install
# or
yarn install

Configuration

Create a .env file in the root directory of your project if it doesn't already exist. Set the JUDGE0_SUBMISSION_URL environment variable in the .env file. This variable should point to the URL of the Judge0 API endpoint you want to use for code execution. For example: plaintext

JUDGE0_SUBMISSION_URL=https://api.judge0.com/submissions

Replace https://api.judge0.com/submissions with the appropriate URL for your Judge0 API endpoint.

Running the Development Server Once the configuration is complete, you can start the development server to see the React code builder in action.

npm start
# or
yarn start

Open your web browser and navigate to http://localhost:3000 to access the application.

Usage

Write your code in the Monaco Editor. Execute the code snippet by clicking the "Run" button. View the output in the console or output panel. Contributing Contributions are welcome! Feel free to submit pull requests or open issues.

Gitpod

In the cloud-free development environment where you can directly start coding.

You can use Gitpod in the cloud Gitpod Ready-to-Code


Feel free to customize this README.md according to your project's specific requirements and features. Let me know if you need further assistance!

Connect ๐Ÿ‘‰ Twitter / Instagram / Github / Youtube / Newsletter / Discord

customcodeeditor's People

Contributors

dhanushnehru avatar sandeepvashishtha avatar anandromy avatar gongahkia 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.