I own a nodejs web application that connects as a client to a websocket and sends me push notifications when certain events occur. It also has capabilities to send requests to a REST API based on information received from the same Websocket.
So far I have run this app locally and always turned my laptop on. But I'll be traveling soon, so it's not an option to keep the laptop running around the clock.
What can I do to run this app around the clock (as it always has to be connected to the websocket) without keeping my laptop running?
The only option I can think of is to run the app locally on a Digital Ocean Droplet and then load RDP into the droplet whenever I need to use it. That way it runs 24×7 and I can access it whenever I want by launching RDP into the droplet. The only worry I have is whether the cheaper droplets are so strong that I can edit them with RDP and use the app without delay.
This app does not have to be available on the web. Would it be bundled as an Electron app and then run on a remote server, considered better practice than just running it on 127.0.0.1?
Appreciate your entries.
Thank you very much!