I have a nodejs webapp that connects as a client to a websocket and sends me push notifications whenever certain events occur. It also has functionality to send requests to a REST API based on information received from the same websocket.
So far I have been running this app locally and keeping my laptop on at all times. But soon I am going to be traveling so keeping the laptop on 24x7 is no more an option.
What can I do such that I will be able to run this app 24x7 (since it must be connected to the websocket at all times) without having to keep my laptop running?
The only option I can think of is to run the app locally on a Digital Ocean Droplet and then RDP into the droplet whenever I need to use it. This way it runs 24x7 and I can access it whenever I want by RDPing into the droplet. The only concern I have is if the cheaper droplets will be powerful enough to allow me to RDP into them and use the app without lag.
This app does not need to be access on the web. Would bundling it as an Electron app and then running it on a remote server be considered better practise than just running it at 127.0.0.1?
Appreciate your inputs.
Thank You!