How can I deploy a React app with its Strapi backend?

System Information
  • Strapi Version: 4.1.5
  • Operating System: Windows 10
  • Database: not sure
  • Node Version: 14.17.4
  • NPM Version: 8.1.3
  • Yarn Version: none

Hello, I am a junior frontend developer. I have set up a React frontend and a Strapi app to consume for my client to easily modify information on the site. I have text and images, and I have been running it locally and it works perfectly.

Now, I am interested in deploying this app with its Strapi backend. We will have access to a Hostinger paid hosting, but I’m not sure if I can deploy both React and Strapi together, or what would be necessary. I’m also not sure about the type of database that I need for the images and stuff.

I read about the Heroku deploy in the Strapi docs but it also required an external service for hosting images, so I think the paid hosting would be able to eliminate that need.

My questions are: can I deploy both a React frontend app with a Strapi backend together on the same paid hosting? Are there any guides that could explain what I need to do? Will my media files also be stored on the paid hosting? What should I know about the type of database I need? Thank you for this.

1 Like