Best Practice: Deploying Angular Applications and Spring REST Api

I am trying to deploy an angular application that communicates with spring rest api.

The spring application is hosted on tomcat and works as expected.

My angular application is a simple form that also works in theory. Now I am trying to deploy both on my local system and after sending the angular data to the tomcat server where the spring application will be processed.

Since this will be something that I will constantly develop over the next months, I am looking for tips on best deployment methods. Is it recommended to work both with the tomcat container and in case of separation of problems? I also hope to learn about scalability and architecture with this experiment, therefore, using separate vms, multiple servers, load balancing, etc. I really want to understand and get useful tips or pointers in the right direction. Thanks.

+6
source share
1 answer

- () , , ( , ).

.

"" :

  • Angular Spring REST -. . , , (, ) .

  • - . , ,

  • , . . ( ).

  • Angular node, API- w760 > Tomcat. , .

  • - . API- REST - , , . , .

  • , , , . , , . ( , ).

  • API REST ( ) , Angular. , REST API , Angular.

  • : Angular "" Spring (API REST). REST "" Angular, .

, , .

+5

All Articles