Getting blank data response from api

I’ve developed a webpage using React and Express.js and have managed to successfully host it on a render. However, when accessing the API, I’m encountering an issue where I’m receiving blank data as a response. Interestingly, the same webpage functions correctly on my localhost setup. I have used MongoDB Atlas as the database for this project.

Could you please assist me with this issue?
Thank you in advance.

Render hosted webpage link-
Github link - GitHub - Rohanpatil22/fullstack_project

Hi there,

If you are hosting your React service as a static site and it uses client-side routing, please make sure you have configured the rewrite to direct all requests through the index.html.


Render Support, UTC+10 :australia:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.