0
What I want to do with Node.js is basically LISTEN to an API (json) and process the results to send to multiple clients.
Example:
What I want to know is: This My VPS computer has to exist and run the server application for 24 hours?
I thought of something like a Crontab to replace the VPS, but I think I’m wrong about this, because Node.js should be "LISTENING" to the API and not accessing it through multiple requests in a given time interval.
Could I leave the script running on the server itself forever?
I see several notifications apps that collect third-party data and wonder if that’s how they work.