Skip to content

feature/task-2#548

Open
krakz999 wants to merge 6 commits intoEPAM-JS-Competency-center:mainfrom
krakz999:feature/task-2
Open

feature/task-2#548
krakz999 wants to merge 6 commits intoEPAM-JS-Competency-center:mainfrom
krakz999:feature/task-2

Conversation

@krakz999
Copy link
Copy Markdown

What was done?

  • Implemented AWS infrastructure using CDK
  • Added convenience npm scripts for CDK deployment workflow
  • Updated Material UI theme configuration to use dark mode

"test": "jest",
"cdk": "cdk",
"cdk:synth": "npm run build && cdk synth",
"cdk:deploy": "npm run build && cdk deploy"
Copy link
Copy Markdown
Author

@krakz999 krakz999 Apr 11, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The cdk deploy command will perform synthesis itself before initiating deployment, we don't have to run it separately for deployment purpose.

The CloudFront distribution will be invalidated automatically because the BucketDeployment construct includes the distributionPaths property, eliminating the need for cache invalidation in the npm script.

Copy link
Copy Markdown

@duncannevin duncannevin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@krakz999 This looks really good, nice work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants