Skip to content

feat: implement frontend stack with S3 and CloudFront for Vite/React … - #3

Merged
ezekielelvis merged 1 commit into
mainfrom
feature/depoy-to-aws-scripts
Aug 2, 2026
Merged

ezekielelvis merged 1 commit into
mainfrom
feature/depoy-to-aws-scripts

Conversation

@ezekielelvis

Copy link
Copy Markdown
Contributor

This pull request introduces a full continuous deployment workflow for the project, adds infrastructure to host and serve the frontend as a static site on AWS, and updates documentation to reflect these changes. The main improvements are the addition of a GitHub Actions deployment pipeline, a new CDK stack for frontend hosting (S3 + CloudFront), and documentation updates to describe the deployment process and infrastructure.

Continuous Deployment and Infrastructure Updates:

  • Added a new GitHub Actions workflow (.github/workflows/deploy.yml) that automatically deploys the infrastructure and frontend to AWS after successful CI runs on main. The workflow provisions all stacks, builds the frontend with the correct API URL, uploads it to S3, and invalidates the CloudFront cache.

  • Introduced a new CDK stack (infrastructure/lib/stacks/frontend-stack.ts) that provisions a private S3 bucket and CloudFront distribution for secure, static hosting of the Vite/React SPA. This stack outputs the necessary deployment information for the workflow.

Documentation Updates:

  • Updated README.md to document the new continuous deployment process, the structure and deployment of the frontend, and the addition of a seventh stack. This includes a new section describing how the deployment workflow operates and how the frontend is hosted. [1] [2] [3]

  • Updated infrastructure/README.md to include the new Frontend stack, increasing the stack count from six to seven, and describing its purpose and deployment method. [1] [2]…SPA deployment

@ezekielelvis ezekielelvis self-assigned this Aug 2, 2026

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Hi @ezekielelvis! 👋

Your private repo does not have access to Sourcery.

Please upgrade to continue using Sourcery ✨

@ezekielelvis
ezekielelvis merged commit 1b3be29 into main Aug 2, 2026
2 checks passed
@ezekielelvis
ezekielelvis deleted the feature/depoy-to-aws-scripts branch August 2, 2026 11:30
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.

1 participant