how to execute Springboot with Angular at once?

my application has spring boot backend and Angular Electron frontend. I can make from both of them exe files, but I’d like to achive the situation that when user open exe with frontend my spring boot app also starts so frontend can send request to it on localhost. What’s the best way to do it? In the future I will want to have the option to start only springboot as a Windows service on the server and install exe with Angular Electron app on clients.

Thanks for any help

Source: New feed
Source Url how to execute Springboot with Angular at once?