Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 949 Bytes

README.md

File metadata and controls

17 lines (11 loc) · 949 Bytes

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.