Our great sponsors
-
You can use https://ace.c9.io/ (or https://www.npmjs.com/package/react-ace if you are using react) to write the code.
-
https://judge0.com/ to run the code, you can can host it on your server for free or use their api.
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
-
You can use https://ace.c9.io/ (or https://www.npmjs.com/package/react-ace if you are using react) to write the code.
-
I have done this before using codemirror but changed to Monaco editor which is used for visual studio code and is open source. On their site is an npm install. With django you can add it into the js folder as a package with all the other js goodies. Has code completion and all other vs code has. Just a little tricky to get it working initially but once up and running very easy to customize. Hope this helps.