Skip to content

Gryffind96/shop-angular-cloudfront

 
 

Repository files navigation

Shop Angular Cloudfront

Angular version: ~12.

Repo maintainers:

The purpose

The repository was created to have an Angular version of e-shop for EPAM NodeJS AWS course. At the same time we strive to make this repository follows best practices so it may be used as a starter for new projects with all the necessary toolings already set up.

NodeJS AWS course integration

All the necessary API endpoints are in the environments files environment.ts (for dev builds). Also it contains feature flags to enable/disable endpoints invocations from within the app so to ensure that you don't get errors for not implemented API endpoints.

Contribution

Create an issue with the detailed description of the improvement/issue.

If you would like to help implementing some feature, you should ask the maintainers for approval so to ensure that the feature is desired in the repository and no efforts go wasted.

Get up and running

Prerequisites: NodeJS v14

Follow the steps:

  • git clone
  • npm i
  • npm start

Serverless scripts

client:deploy, client:deploy:nc

Deploy the project build from dist folder to configured in serverless.yml AWS S3 bucket with or without confirmation.

client:build:deploy, client:build:deploy:nc

Combination of build and client:deploy commands with or without confirmation.

cloudfront:setup

Deploy configured in serverless.yml stack via CloudFormation.

cloudfront:domainInfo

Display cloudfront domain information in console.

cloudfront:invalidateCache

Invalidate cloudfront cache.

cloudfront:build:deploy, cloudfront:build:deploy:nc

Combination of client:build:deploy and cloudfront:invalidateCache commands with or without confirmation.

cloudfront:update:build:deploy, cloudfront:update:build:deploy:nc

Combination of cloudfront:setup and cloudfront:build:deploy commands with or without confirmation.

serverless:remove

Remove an entire stack configured in serverless.yml via CloudFormation.

Links

S3

CLOUDFRONT

About

practice course

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 67.8%
  • HTML 21.2%
  • JavaScript 9.0%
  • SCSS 1.9%
  • Shell 0.1%