Question

Is possible deploy an angular project and a spring boot project separated?

I have a yeoman angular project work better and a spring boot rest project in my server side, two projects separated. I need two droplets to deploy both? i can deploy both projects in the same droplet?

I’m confuse.

I’m sorry for my english.


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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

This is definitely possible. The core of the issue is determining how your application processes will be managed, and what web server configuration you will use. This is something that with proper planning, can provide a solid way to continually add applications ( resources permitting ) or more sites to your server.

Both Nginx and Apache httpd allow for separate sites and support using proxy configurations ( see this for Apache and this for Nginx ) and modules to allow requests to be passed to your applications that support common interfaces. You can leverage that to use application managers ( e.g. gunicorn, unicorn, php-fpm, passenger etc ) to run applications.

With isolated application processes, it is simply a matter of configuring the domain, sub-domain or paths that will lead to the applications through proxy configurations or modules.