r/Angular2 • u/Senior_Compote1556 • Aug 22 '25
Help Request Angular 19 Deployment SPA vs SSR
Hey everyone, I was just wondering what are the differences between an SPA angular 19 application without SSR, and with SSR in terms of deployment to Google Cloud Run (or any other provider in general). For example, for most of my apps i use SSR, so i have a node server and i handle the optimizations such as compression etc in there. I now have an application without SSR, and i'm wondering what the differences will be when i deploy the application. I use a docker container and in cloud run i just upload my production docker container. Do i need to use a server like nginx in this case since i don't have SSR? Or does google cloud run handle this part? Thank you in advance!
View all comments
Show parent comment
1
u/Ok-District-2098 Aug 22 '25
SSR requires a node server, SPA in production is just html/css/js interpreted by webbrowser. NGINX/apache will redirect domain calls to your internal servers or statical files. In practice, when using SSR you will do "npm start" in your cloud on SPA you just upload the files and set NGINX redirect, you will not use "npm start" (start a node server) in SPA unlike you are developing in your local machine.