How to receive data from a web page to desktop app?

I have two applications one is a plain reactjs web application and an electron based desktop application.
I wanted to send data from my reactjs web application to electron based desktop application at a regular intervals (for every 30 mins) (the application can be closed by user, when it is not needed).

Is there any way to send data from web page to dekstop application, so that the data will be processed in desktop application