I’m attempting to learn and build a MERN project from scratch. I’m trying to run both backend and frontend on the same port using concurrently but the frontend port is still returning the default(3000) port.
package.json(Frontend)
"name": "frontend",
"version": "0.1.0",
"private": true,
"proxy": "http://localhost:5000/",
Backend
const PORT = process.env.PORT || 5000;
Tried setting the proxy string into the package.json for frontend
Niño Daiñell Austral is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.