Question about Deploying ReactJS App

Hello all, hope you guys can help me out with a little question.

I have built a single page webapp in ReactJS. After building the project, can someone tell me what the process is to deploy it to 000webhost? I see all kinds of tutorials for deploying to AWS, Heroku, and Azure, but I just need a simple process for 000webhost. Is it just as simple as uploading my build folder to my root directory?

Thanks in advance!

Heroku would be your best bet funnily enough :slight_smile:

lol, why is that? (inserting words because this message is too short)

You can just upload your files to public_html if you’ve bundled it correctly locally and use 000webhost, but Heroku is better as you can sync with Github easier.

1 Like

I see, thanks for the advice! I’ll give it a shot here first, and if it’s too much trouble, I’ll give Heroku a whirl. Thanks again!

Hey! It worked!

If anyone is wondering, React’s documentation had all the necessary steps. Look for Apache server deployment like halfway down the doc.

And if anyone is interested in trying my first ReactJS game, it’s here: http://umairs.com/snake/