Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 1.21 KB

README.md

File metadata and controls

19 lines (15 loc) · 1.21 KB

myPleaks

Latest Angular 9.1 app with SSR and Serverless, Ready to use.

This application can directly be used to start a new Angular 9.1 project where Server Side Rendering(SSR) 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.

Here are the Steps:

  1. @angular/cli version should be 9.1.4.
  2. Go to myPleaks directory and do npm install.
  3. To run on local with SSR use following commands.
  4. Build using - npm run build:ssr
  5. Run using - npm run serve:ssr
  6. To run application locally without SSR, Simply run npm start.
  7. To deploy application on AWS lambda.
  8. Configure AWS cli and profile on your local machine.
  9. Export/Set your AWS default profile. Depends on your operating system like export AWS_DEFAULT_PROFILE= e.g. export AWS_DEFAULT_PROFILE=leaks
  10. Run this command to deploy Angular app on AWS lambda: npm run build:prod:deploy

For give back, Please keep visiting my website myPleaks which is an open news media platform I'm building currently.