start react application using pm2 on port 4000 code example Example: deploy create react app pm2 pm2 serve build 8082 --spa