C++ and Angular 6 proper 2 way communication : I'm having some troubles finding a good way to stablish a communication between my frontend and my backend.

I have a C++ app that deals with the communication with some device, I'd like that my webpage gets the request from the user, then send that request to my always running C++ app, process that request, and then send a response back to my webpage, is there any way to make this happen?