API is configured to connect to front-end application via CORS