I started to develop with Spring boot and Angular 10 and today I’ve to deploy but I don’t how and where deploy. I’ve read a lot of article but I don’t get the difference between an app server and web server.
I want to use Tomcat (app server) to deploy both of them it is a good decision ? or do i need to use Tomcat for Spring boot and Apache HTTP or Nginx for Angular?
I also use a 3 tiers architecture
Client < =http request response => app server < =SQL request response => DB
If I have to use both server, do I need to use 4 tiers architecture ?
Client <= ?? => web server < =http request response => app server < =SQL request response => DB
2
Answers
I’m not work with angular, but I’m using react I think they are same ..
first way is:
secound way is:
to configre (Apache or Nginx) route to point to frontend and backend.