Deploying web app to Render, MongoDB, Netlify

I think I’ve hooked up my MongoDB properly to my Render instance. I’ve inserted my .env details to the secret files section and environment details filled in. When I redeploy, the logs show my console.log of ‘MongoDB Connected’ and PORT. Am I correct in assuming that my backend had deployed successfully onto Render and connected properly to my MongoDB Instance?

Another thing I’ve noticed is that when I click the link on my project’s dashboard that’s supposed to be my live backend service, I get a 502 status code.

Also, how do I connect this backend to my Netlify frontend instance? I can’t seem to find any documentation on this matter.

Any help would be greatly appreciated.

Hi there,

If it’s a front end app deployed to Netlify then typically you would just set your front-end to use your Render deployed service as your API or such, beyond that I’m not sure we can answer a Netlify specific question.


John B

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