This is a web-based editor which supports languages like java, python, cpp, js, c etc. It is build using official monaco-editor and uses code execution engine backend(Available on my github). The project uses redux for state management
Backend: https://github.com/nikhil-babar/code-executor-engine
Demo: https://www.youtube.com/watch?v=G2lyjFt-BrE
Before you begin, ensure you have met the following requirements:
- Node.js (v14 or higher)
- npm (v6 or higher) or yarn (v1.22 or higher)
-
Clone the repository:
git clone https://github.com/nikhil-babar/code-editor.git cd code-editor
-
Install dependencies:
Using npm:
npm install
Or using yarn:
yarn install
-
Start the development server:
Using npm:
npm start
Or using yarn:
yarn start
The application will be available at
http://localhost:3000
. -
Build for production:
Using npm:
npm run build
Or using yarn:
yarn build
To contribute to this project, please follow these steps:
- Fork this repository.
- Create a branch:
git checkout -b feature/your-feature
. - Make your changes and commit them:
git commit -m 'Add some feature'
. - Push to the original branch:
git push origin feature/your-feature
. - Create the pull request.
This project is licensed under the MIT License.
If you have any questions or suggestions, feel free to reach out to [[email protected]].