How can I add to a single droplet two applications (server (spring boot) and client (ReactJs) ?

I’m research about DigitalOcean tool, and I would like to know if is posible create two applications in a single droplet. I have a Spring Book Kotlin Api and a Reactjs Client. Can you help me please to know what i should do?


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

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.

Accepted Answer

Hi @ItsRicmor,

Yes, it’s entirely possible to add as many applications on a droplet as you wish. To setup both applications, you’ll first need to install NodeJS on your droplet. Luckily, DigitalOcean has a pretty good article on how to do so -

As soon as you have finished the article, you can turn your attention to the React Tutorials sections again on DigitalOcean - . It has tons of article on setting and configuring such applications to doing a lot more complex stuff.

Setting up the Spring Book Kotlin Api would most probably require some sort of a WebService like Nginx, for that, you’ll need to follow this tutorial -

Regards, KDSys