There are two modes your app can run in. When built (port 8080) via npm run build (which creates an index.html) or when running live reload npm run start which runs on port 3000.
npm run build
npm run start
When running npm run start your app will proxy from port 3000 to port 8080 automatically. However when you create a production build your entire app should be running from port 8080, as express and the API's are running from the same server (in this setup).
You shouldn't need to change any ports. Does that help?
We’re a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.