The cors error can be fix by disable the same origin policy from browser. For chrome, head on here for workaround.
Cors error in React or Express are covered here.
Why CORS erros occurs?