This ticket is to allow the server to receive a request from the front end to the server as an API RESTful request and then send the data to the python validator via web-socket. Using web sockets, we basically establish a connection between the user and the sandbox, meaning once the sandbox finishes the code validation it will submit it's response directly to the user and update the database separately. This means the API can push code submissions into the queue and not wait for anything to return, making our API "Asynchronous" and "Non-Blocking".
This ticket is to allow the server to receive a request from the front end to the server as an API RESTful request and then send the data to the python validator via web-socket. Using web sockets, we basically establish a connection between the user and the sandbox, meaning once the sandbox finishes the code validation it will submit it's response directly to the user and update the database separately. This means the API can push code submissions into the queue and not wait for anything to return, making our API "Asynchronous" and "Non-Blocking".
Asking chat on how to approach this: https://chatgpt.com/share/67117a77-c4dc-800e-847d-cda2406e5047