An attempt to build a simple NodeJS online judge.
-
NodeJS
-
Docker
yarn
docker compose build
yarn start
-
Create a NodeJS docker container to safely execute submission code.
-
Run the submission file with predefined input and redirect program output into a file.
-
Compare the output file with the test output file and return the verdict.