Latest Angular 9.1.6 app with SSR, PWA and Serverless(AWS Lambda), Ready to use.
This application can directly be used to start a new Angular 9.1 project where Server Side Rendering(SSR), Progressive Web App(PWA) and Serverless(AWS Lambda Only) deployement is required. This application is completely bug free and Ready to use with minimum check Angular version and AWS profile checks. And obviously by renaming the application name as per your need.
You can refer below youtube video : https://www.youtube.com/watch?v=RKhyDUaWB9Q
Here are the Steps:
- @angular/cli version should be 9.1.5.
- Go to myPleaks directory and do npm install.
- To run on local with SSR use following commands.
- Build using - npm run build:ssr
- Run using - npm run serve:ssr
- To run application locally without SSR, Simply run npm start.
- To deploy application on AWS lambda.
- Configure AWS cli and profile on your local machine.
- Export/Set your AWS default profile. Depends on your operating system like export AWS_DEFAULT_PROFILE= e.g. export AWS_DEFAULT_PROFILE=leaks
- Run this command to deploy Angular app on AWS lambda: npm run build:serverless:deploy