How to deploy react frontend with strapi backend?

hi there,
I have recently finished an ecommerce project using React as frontend and Strapi as backend. I have successfully deployed backend in Heroku and have now deployed React frontend in Netlify but I am unsure as to how to connect both apps.

this is my site: https://steady-haupia-5310d9.netlify.app/
I believe I would need to get the API_URL link from Heroku under the settings, and I have added that under site settings, environment variables. But it’s not working, what am I doing wrong?

thanks for your help, I am very new to deployment!
L

Hi welcome to the forums!

Can you take a look at this thread as this is similar and see if this helps?

1 Like

This is the third question about getting Strapi up and running and I still haven’t seen a good answer.

@mpstaton is discussing here: How do we include a partner engineer on this forum for Strapi?

As for “not a good answer”, this post was abandoned by the OP. We can’t help someone who doesn’t communicate. This is also not related to your question. Just because it has the word Strapi, doesn’t make this same issue as yours.