Front-end cannot talk to backend API

Hi, I’ve been attempting for a few weeks to get my app to work. I’ve got my frontend static and my backend service both saying they are successful. However, what works on my machine fails in production.

I’ve exhausted ChatGPT’s abilities to give me anything I haven’t tried, yet.

It’s a React-Native app, but I’m focusing on the web-build/ right now (sorry, I don’t have all the terminology down; I was a programmer 15 years ago; Now I’m just an AI hack. lol)

I get no errors during the build of either the frontend static site nor the backend webservice.
Everything works on my machine. When it’s built on your servers, the frontend cannot communicate with the backend.

-I’ve got all my .env variables placed into the proper Render variables for both back and front-end.
-I’ve got the backend-end API variable set up right, BACKEND_API, etc. correctly, according to GPT.
-I’ve got my web-build/ folder, and everything in it ignored (.gitignore) except.
-I’ve got a public/index.html that uploads (I guess for a “template”; I’m not even sure what that means in this context).
-I’ve got Mongo set to accept the db calls from Render IPs.
-I am not using Expo; way too many issues there, so scrapped it and I’m just using “plain vanilla” React-Native and React-Web.
-Not concerned with getting the app working right now; just the website.

VS Code AI on GPT-4.1 runs me in circles doing the same steps over and over, insisting that everything is correct and it will all work, now.

It doesn’t.

Help?

P.S. Sorry if I haven’t provided enough detail here. Just let me know what you need to know to help you help me. :slight_smile: Thanks in advance.