Skip to content

bave8672/angular-universal-aws-lambda

Repository files navigation

Angular Universal / AWS Lambda Template

The default Angular CLI project, modified to support Angular Universal prerendering via AWS Lambda (using the Serverless platform).

Demo

Quick start

  • Clone the repo and run yarn to install dependencies.
  • Build the angular projects for server and browser using npm run build:angular
  • Build the lambda code with npm run build:server
  • After building, simulate the lambda endpoint locally by running npm run start
  • To deploy to AWS, set up your credentials with serverless, then use npm run deploy.

Acknowledgements

Lukas Marx's blog post does a great job explaining what's required to set up an Angular Universal project.

About

Angular Universal pre-rendering on AWS Lambda

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published