Spa Hosting #19
-
Hi Dalibor, Is it possible to host the Spa on something like AWS Cloudfront as long as the domain is the same ? https://app.mynapp.com/spa Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hi, I dont know much about AWS stack since im Google cloud user (GCE) ... But i believe it is just app engine... In example the SPA is served from BFF directly (just static files react app..) . Because i wanna reduce demo number of services... But normaly you serve it form standalone app or CDN.. SPA is just static files or in case server-side rendered it is another app... So yes you can put SPA to standalone app im also doing this normally... From architecture all parts can be deployed as standalone and just link and set firewall rules between + CORS list must be defined... Also the domain is required since HTTPS.. Demo use dev-certificates for localhost but real app require domain name and certs. (Just for info) |
Beta Was this translation helpful? Give feedback.
-
Thanks, we're currently on Idsrv v4 with React app running on a CDN, and planning on switching to Duende + BFF. |
Beta Was this translation helpful? Give feedback.
Hi,
I dont know much about AWS stack since im Google cloud user (GCE) ... But i believe it is just app engine...
In example the SPA is served from BFF directly (just static files react app..) . Because i wanna reduce demo number of services... But normaly you serve it form standalone app or CDN.. SPA is just static files or in case server-side rendered it is another app... So yes you can put SPA to standalone app im also doing this normally...
From architecture all parts can be deployed as standalone and just link and set firewall rules between + CORS list must be defined... Also the domain is required since HTTPS.. Demo use dev-certificates for localhost but real app require domain name …