Question

react vs nodejs: which one to chose for my apps?

hello,

so I’ve been considering hosting my applications on digitalocean.

It’s a React frontend application and a NodeJS express backend API application with MySQL database, should I choose in this case 2 droplets (1 for frontend and 1 for backend with the managed database) or can this be done on 1 droplet with managed database.


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Well, I think It depends on you. Which is best for you nor which is not for you? Because you used it according to your own will not either someone’s suggestion. Maybe the app that someone recommended is good for him not for you.

Hi @ervinjason,

You can’t use this setup on one Droplet hosting all if you want to use a Managed Database. What you can do is either have one Droplet that hosts your frontend and backend alongside MySQL together or have a Droplet for your frontend and get a Managed Database.

Either way would be fine. If you intend your App to get a lot of traffic, I’ll suggest separating the frontend and the Dabatase (Managed Database). Otherwise, if you don’t expect a lot of traffic in the beginning, one Droplet should suffice.