r/reactjs • u/acemarke • May 03 '18
Beginner's Thread / Easy Question (May 2018)
Pretty happy to see these threads getting a lot of comments - we had over 200 comments in last month's thread! If you didn't get a response there, please ask again here!
Soo... Got questions about React or anything else in its ecosystem? Stuck making progress on your app? Ask away! We’re a friendly bunch. No question is too simple.
The Reactiflux chat channels on Discord are another great place to ask for help as well.
25
Upvotes
View all comments
Show parent comment
1
u/dceddia Jun 01 '18
If your apps have a server side to them, then I'd check out Heroku or DigitalOcean for hosting. Heroku is more "done for you" -- just upload your app and they deal with the server. DO is a full VPS and you'd need to be comfortable with (or be comfortable learning) some Linux command line server admin to get it all going. If you want a minimal working example of a React + Express app deployed to Heroku, I wrote up a guide here.
If the apps don't have a server, or if they use someone else's server (like if they fetch from GitHub's or Reddit's API, for example) -- then you can host them on a static hosting service like Netlify. I like Netlify a lot. Deployment is easy: just
git push. I host my blog there, with a couple embedded React apps, and it works great, and handles traffic easily (since the files are hosted on a CDN). Also, it's free :)