React App preflight CORS error, cannot GET - resolved

I encountered so many issues by doing the requests in the frontend, I suggest you if you can to create a small backend with NodeJS for example, it helped me a lot