Using PM2 to Manage Your NodeJS Processes
PM2 is a process manager for NodeJS. PM2 will restart your node processes if they crash and keep track of the number of restarts. You can also connect your processes to keymetrics.io so you can monitor remotely. Installing PM2 Install PM2 globally via NPM to use it. $ npm install…