While experimenting with Angular 2, I happened to see Angular Universal. It's Server-side Rendering for Angular 2 apps same like we have in ReactJs. There is also a getting started guide with one code snippet here.
I am trying to understand if this is something we can deploy in serverless environment like Google Cloud Function or AWS Lambda. Docs of both services indicates that nodejs is supported. I am very new to both Angular2 & serverless hosting pattern.
It is possible to deploy Angular app on serverless environment. I could say more, it is possible with server-side rendering (Angular Universal).
Check out this boiler-plate repo: https://github.com/maciejtreder/angular-universal-pwa
and live demo: https://www.angular-universal-pwa.maciejtreder.com
The app is deployed using Serverless framework: https://serverless.com
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With