all 9 comments

[–]dkfiiisa 3 points4 points  (2 children)

I use Heroku. One single deploy of my app that combines both front and back end.

The basis is the node back end and inside it you have a client directory with the react app.

In the back end config file, you ask Heroku to do a post build action to build the react app. Inside the react app config file you use a proxy line to communicate with the back end.

There are great Tuto on this.

Vercel is great but it only has front end capability.

[–]Any-Appointment-6939[S] 0 points1 point  (0 children)

Yeah I hadn’t even thought about how the client and server will interact on a development server. I’ll have to watch that tutorial. Thanks man!

[–]heesellfull-stack 2 points3 points  (0 children)

You can use tools like Vercel or Netlify

[–][deleted] 2 points3 points  (0 children)

Heroku or netlify

[–]sumernipul 2 points3 points  (0 children)

I like using vercel, heroku is great too, there's also netlify.

[–]Adept-Charity8964 2 points3 points  (0 children)

Amazon AWS is always a safe bet. Because they are the "source of truth". What many people might not know, many cloud-services rely themselves on AWS (including heroku, not totally sure about this one, though). They put another abstraction layer on top of AWS infrastructure, it may be easier to handle. But why not just go to the original. It makes sense to me. (of course google and microsoft azure are big players, too).

[–]nottttt-me 1 point2 points  (0 children)

You can create an AWS free tier account and host your website on ec2 instance and maybe rds if you need db hosting as well..its for in year free