工具介绍
构建自己的代码编辑器,可编译和运行 40 多种编程语言。
CodeRush - Compile and Execute code in 40+ languages
⚡️ A code editor that compiles and runs your code on the web.
Blog: FreeCodeCamp - Build A Code IDE with React
Features:
- Compile and execute code in 40+ programming languages.
- Switch themes from a list of available themes.
Installations and setup
- git clone
https://github.com/manuarora700/react-code-editor.git
npm install
- A sample
.env.sample file is given, Register on RapidAPI and get your API keys.
- Create a
.env file.
- Add the API Keys in the
.env file
npm start to run the project.
TODO:
- Add more languages [DONE]
- User login, authentication and registration (Firebase Auth)
- User Profile Page
- Save code functionality (Firestore - use Slug based approach)
- Share code functionality
Support