From 6c6ab17203cf40e76c2455bb60441012b71f5f66 Mon Sep 17 00:00:00 2001 From: Arnab-Afk Date: Tue, 25 Mar 2025 21:45:29 +0530 Subject: [PATCH] improved faster backend with input output --- Frontend/.env | 2 +- Frontend/src/components/EditorArea.jsx | 2 +- Frontend/src/index.css | 5 +- backend/handler/handler.go | 81 +++- backend/main.go | 1 + backend/model/submission.go | 1 + backend/monaco | Bin 0 -> 8205824 bytes backend/service/execution.go | 501 +++++++++++++++++-------- backend/tmp/build-errors.log | 2 +- backend/tmp/main.exe | Bin 8205824 -> 8596480 bytes 10 files changed, 426 insertions(+), 169 deletions(-) create mode 100644 backend/monaco diff --git a/Frontend/.env b/Frontend/.env index cc1fb52..23f0cca 100644 --- a/Frontend/.env +++ b/Frontend/.env @@ -1 +1 @@ -SERVER_URL="http://localhost:8000" \ No newline at end of file +VITE_API_URL="https://monacoapi.thearnab.tech" \ No newline at end of file diff --git a/Frontend/src/components/EditorArea.jsx b/Frontend/src/components/EditorArea.jsx index 234d380..7e29134 100644 --- a/Frontend/src/components/EditorArea.jsx +++ b/Frontend/src/components/EditorArea.jsx @@ -714,7 +714,7 @@ Happy coding!`; title="Run code" > {isRunning ? : } - Run +