Ad

Running NodeJS Server In Production

I have a react + node app which I need to deploy. I am using nginx to serve my front end but I am not sure what to use to keep my nodejs server running in production.

The project is hosted on a windows VM. I cannot use pm2 due to license issues. I have no idea if running the server using nodemon in production is good or not. I have never deployed an app in production, hence I have no idea about appropriate methods.

Ad

Answer

You may consider forever or supervisor.

Check this blog post on the same.

Ad
source: stackoverflow.com
Ad