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?
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!
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 - https://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-ubuntu-18-04
As soon as you have finished the article, you can turn your attention to the React Tutorials sections again on DigitalOcean - https://www.digitalocean.com/community/tags/react . 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 - https://www.digitalocean.com/community/tutorials/how-to-install-linux-nginx-mysql-php-lemp-stack-ubuntu-18-04
Regards, KDSys
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.