Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Frontend: http://172.167.42.59/
Backend: http://172.167.42.59:5000/authors and http://172.167.42.59:5000/books
After running Terraform commands these resources are created on Azure:

Uploading backend .jar to server (VM):

After installing Java, running the .jar file on the server:

Endpoint can be reached:

Extension
Changing the API address in the React app to be the newly created VM:

Building the React app to dist folder and uploading to server:

After install Node etc. on the VM I use pm2 to run the React app in the background. (Need to use "sudo" since 80 is a privileged port.)


Frontend works and communicating with backend on the same VM:
