Setting up the Server and Client for further testing

Hello All! I need to understand and comprehend the principles of interaction of REST API (for example, based on POSTMAN). The goal that I pursue is to master more than now deep knowledge in the scheme of testing two or more systems “Client—Server—Client” and the like. In more detail, my current implementation scheme looks like this. Web service (CRM system) which in order to receive responses to its requests (GET, POST, PUT, DELETE) in REST API mode, from a remote server. Must be configured accordingly. There are first positive results of the described testing processes. However, the further I move in the direction of automation of requests. The more I understand that I already now need to create and configure the server part (NODE.js). Since testing involves saving (and re-saving) a directed request for data (request), received in the first request (response). Next, based on the initial response to the request, a second request is built, secondary data is received from the server, which also needs to be saved, possibly deleting (replacing) the previous data… etc.
All the described actions imply the presence of:

  1. Not only correctly composed requests and creating a request and response scheme.
  2. But also saving and re-saving data on the server. Which must be pre-configured and correctly.

There are many different instructions on this subject on the Internet. However, I have not found a single correct one. Can someone help me, tell me what the algorithm for creating the scheme I described above is?
Please note that I am not interested in doing something instead of me_! However, directing and suggesting in terms of the algorithm I described above!! This is exactly what I need now.
I sincerely thank everyone who responded and helped me!