Open Aman-Codes opened 1 year ago
In Node.js backend we could use npm package cors
to bypass cors policy. Therefore currently frontend make a request to backend which then make a request to to any platform (like codechef).
When we directly make an API request to any platform from react (http://localhost:3000) then we get a cors error. Need to fix this cors error so that duplicate request from server is not required then.
Is your feature request related to a problem? Please describe. Shift backend from Nodejs to plane JavaScript. This will make it possible to deploy on GitHub Pages.