anjanesh I recommend you use a process manager like pm2 to keep the app running automatically. You can install it into your custom node install via npm:
~/opt/bin/npm install -g pm2
Then start the app like so:
cd ~/apps/name_of_app
pm2 start
Note that if you use pm2 then you won't need to use nohup at all, pm2 will take care of backgrounding the process for you and will keep it running.