'Implementing an auto-grader for user's submission of React applications

I am currently trying to work on an app that tests user's submission of react applications after providing a certain set of rules of how the app should function/ look like, but I am stuck on understanding how i can implement a function to where when student's 'submit' their application on my website, how i can have like an auto-grader grade their submission right away when they hit submit and the user can see their score right away and try for a resubmission if they are not pleased with their score.

Would cypress be a good option for this or is something else that is already well-developed for auto-grading student's applications/ code?

What I have found:

-codePost - An application used by universities to auto-grade student's code that they submit

-cypress - Tests Frontend functionality of an application but i do not want to recreate the wheel if another application covers frontend application testing w/o coding but simple drag and drop features maybe?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source