For my computer science uni project I'm required to build a web application with an integrated code editor. I believe I can just integrate open source editors like Ace Editor.
However, I feel blocked at this stage because I'm unsure what the next step should be. Say that the user enters some Python code that should be executed... how could I accomplish this?
I'm assuming I'd send the code as a string to my server. But after this, I wouldn't know how to execute that code then display the results to the user on the client side. Apologies if this is a simple question but I couldn't find an agreed upon solution online but I know it's accomplishable as platforms like Repl.it, Codecademy and Hackerrank have achieved this.