wschecker is the checker component of our Write2Code App.
It provides the following services:
- Compiling the JAVA code received from the client side.
- Responding with the compilation result showing whether the code is correct or not.
The checker component was built using the following technologies:
-
Programming Language: Java SDK 12.
-
Framework: Play v2.8. Web MVC framework in which we developed the REST web service that offers the functionality of receiving and compiling JAVA code, and retrieves the list of compilation errors as text.
-
We deployed the component in Heroku, which is a SaaS (Software as a Service) cloud platform to deploy and host web applications. The deployment process happens through GitHub, using one of the features offered by Heroku, which is deployment of branches on a GitHub repository.
- URL of the component: https://checkerws.herokuapp.com/
- We recommend you to use Postman to evaluate the component with real inputs.
- Using Postman,
- test the component with a parameter named “input”,
- and using a POST method.