use pm2 to deploy react app code example
Example: hosting react with pm2
pm2 start my-app/node_modules/react-scripts/scripts/start.js --name "my-app"
pm2 start my-app/node_modules/react-scripts/scripts/start.js --name "my-app"