I have a typical Ubuntu VPS setup (20.04LTS) where I have installed the Nginx Server. I have two local repos with front-end reactJS code repo and back-end ExpressJS code repo. I will start the ExpressJS on the 3000 port with forever start. I have also a mysql db. I have configured Nginx to server the static files with the root /var/www/[Your repo name]/build; and I can open the html files and it is working. The question is, do I need to start on another port for an example the ReactJS npm run start or is Nginx enough? Could you help me out with some links or best practices?
Thanks in advance.