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”, it means CORS is disabled

Fixed: error:0308010c:digital envelope routines::unsupported

Getting error “error:0308010c:digital envelope routines::unsupported”, means you are not using the LTS Node JS version or have issues with cryptographic, or it does not support OpenSSL algorithms; To fix the error, you have to update Node JS and OpenSSL version