Keeping multiple node.js applications online on your own dedicated server is quite uncomfortable if you just run them directly from terminal.
Luckily there is a very handy module for node called PM2.
PM2 allows you amongst other things to

  • create startup script for each of your node apps (with parameters, port etc)
  • run the scripts and automatically restart them when they go down
  • list all managed apps with status, logs etc
  • show cpu and memory usage