Fixed: Cors Policy no ‘access-control-allow-origin’ in React

From the React JS application one call the API using axios or fetch, and you get the error ” ‘http://localhost:3000’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource”,