Hello! Make a website with the use of react and one of the headless CMS - Strapi. The question arose, how it all welcome to deplot. Now the project has two folders - frontend and backend. Both in the settings prescribed localhost and they just use different ports - the first sends requests to the second and displays the content.
But should look like a folder structure when publishing to the hosting? And to throw builds separately in the root folder of the site or not so simple? The documentation Strapi much has been written about Heroku, Amazon AWS, etc. and basically describes a method of publishing frotend and backend on different servers. I am also interested in how to do it on the same hosting.