Follow the steps in serve a simple node app with nginx.
Then build the app
npm run build
Then use pm2 to continuously serve the app.
pm2 start npm --name my-react-router-7-app -- start
Follow the steps in serve a simple node app with nginx.
Then build the app
npm run build
Then use pm2 to continuously serve the app.
pm2 start npm --name my-react-router-7-app -- start