Create a Food Ordering App with Strapi and Next.js 7/7

Hi there, this tutorial is great and I have been working on developing this add for the last month or so. I have done everything possible to deploy but unfortunately I can’t get the frontend to connect to strapi backend.

I deployed both on heroku and I am getting errors that refuse the connection. On the other hand, I sucesfully connected AWS, I can see the objects in the s3 bucket but they delete after a while. Any pointers to solve this issues?