CORS Error in React JS

cors error



CORS error. The above is the typical CORS error that occurs because 
your browser is blocking requests to your server. Even though both your client and the server are running from localhost, your server is hosted on the port 8080 and your React client on port 3000