Skip to content

Sample project showing how to run Angular 5+ on Lambda using server-side rendering and the Serverless framework

License

Notifications You must be signed in to change notification settings

mathieubruguier/angular-server-side-rendering-serverless

Repository files navigation

Angular 5 running with Server-side rendering on Lambda (serverless)

This simple project shows how to run Angular 5+ on Lambda using server-side rendering and the Serverless framework. If you need more information about server-side rendering in Angular, I would suggest taking a look at this guide on the Angular documentation website.

Testing server-side rendering

$ npm run build:ssr
$ npm run serve:ssr

This will build both server-side and client-side code and run a Node server hosting the server.

Building the Lambda code

$ npm run build:lambda

The Lambda build, while very similar, differs in some ways. After building, you can zip up the dist folder and upload it to Lambda.

About

Sample project showing how to run Angular 5+ on Lambda using server-side rendering and the Serverless framework

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors