Running our program in the cloud
The best way to test our written code is by comparing the expected values with the result of the execution of our program. For this, let's imagine a scenario where the x and y positions of the receiver are known, as we can see in the following figure:
In the previous figure, we can see a real scenario with all the known data. This will allow us to validate our program output after entering the requested parameters.
Next, we will carry out the step-by-step execution of our application and will check the results according to the following list:
- Compile the Bosque program.
- Run the Express server.
- Make an HTTP request to our exposed API.
By the end of these steps, we will have verified the correct operation of our program, and you will also be able to validate your own implementation.
Compiling the Bosque program
As you may have noticed in...