Proxy
[node.js/react] server와 client간의 port가 달라 연결이 안될 때
Server - Client 간 다른 포트를 가지고 있으면 아무런 설정 없이 Request 를 보낼 수 없음. -> Cors(cross-origin resource sharing) 이라는 정책때문인데! (보안) 이를 해결하려면 여러 방법이 있지만 서버와 클라이언트 둘다 만족시키면서 유연하게 할 수 있는 것이 바로 Proxy! https://create-react-app.dev/docs/proxying-api-requests-in-development Create React App · Set up a modern web app by running one command. > Note: this feature is available with `react-scripts@0.2.3` and higher. crea..