I need to build an online environment for compiling and running C and C++ scripts.
The idea is to have a frontend with a text editor and a viewing area. This frontend sends the code in one of these languages to the backend, which somehow (haha) will sanitize this code, compile and execute it (inside a Docker container) and return the result to the frontend.
The question is: what technologies could I use for this?