The frontend code communicates with the backend via a REST API. Here is a list of useful REST commands you can use. Make sure the NodeJS server is up and running.