How to call custom app API from client side?

Hi everyone.

I’m new to Shopify and maybe my questions will be illogical or strange. I’ve read all the documentation, but there are a lot of white spots and often I just can’t find the information I need.

I’m creating an application where the user can leave feedback about the store (not about the product, about the store).
I’ve created a CRUD within the app. I have an endpoint through which the admin can create, delete, edit and get reviews.

To do this inside the application, I need to send a request to /api/review (GET, POST, PUT, DELETE).

My next step is to create a theme extension and add 2 new blocks. The review list and the form.

These blocks should interact with the endpoint inside the app, but I don’t understand how to achieve this.

To display the reviews, I want to make a request like this in the liquid blocks:

Or render it on server side.

Please advise me how to achieve this. Maybe I need to use a proxy, but it is not described anywhere how to do it.

I’ve found solution, but I’m not sure it works good…

In Shopify parniers I went to apps/my app/app setup, and made redirect to app url, that I coped above, but this url is changing all the time. How can I lock it?

I’ve foud a lot of similar topics, but no one has answer.
That forum is very useful (no)