Node.js Background Internal API Runner
Budget: ₹600 – ₹1,500 INR
I have a Node.js script that should live on my server and run continuously in the background, making periodic calls to our own internal services. The goal is to set it up so it behaves like a proper daemon: it starts automatically on boot, restarts if it crashes, and logs its activity so I can track both successes and failures.
Here’s what I’m expecting from you:
• Review the current code and confirm it is production-ready for long-running use.
• Configure the server (Ubuntu) so the script runs as a service—systemd, PM2, or a comparable solution is fine, as long as it’s reliable.
• Add concise logging and basic error-handling hooks; I want to see timestamped entries for every internal API call.
• Document the setup steps in a short README so I can reproduce the deployment on another machine if needed.
If any additional packages or environmental variables are required, just note them clearly in the documentation. Once everything is in place I’ll test by rebooting the server and verifying that the process comes back online and starts hitting the internal endpoints without manual intervention.
Here’s what I’m expecting from you:
• Review the current code and confirm it is production-ready for long-running use.
• Configure the server (Ubuntu) so the script runs as a service—systemd, PM2, or a comparable solution is fine, as long as it’s reliable.
• Add concise logging and basic error-handling hooks; I want to see timestamped entries for every internal API call.
• Document the setup steps in a short README so I can reproduce the deployment on another machine if needed.
If any additional packages or environmental variables are required, just note them clearly in the documentation. Once everything is in place I’ll test by rebooting the server and verifying that the process comes back online and starts hitting the internal endpoints without manual intervention.
Related categories:
JavaScript
Linux
Node.js
Ubuntu
Documentation
Continuous Integration
API Development
System Administration