setup-frontend

Community

Deploy React frontends to S3 + CloudFront

Authorschuettc
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Set up and deploy a modern Vite + React frontend to a scalable, CDN-backed hosting stack using S3 + CloudFront, replacing manual static hosting with an automated pipeline.

Core Features & Use Cases

  • Create and migrate a Vite + React project structure, including proxying API calls to a backend or API Gateway.
  • Configure Vite for production builds and generate an optimized, hashed asset bundle ready for S3 deployment.
  • Define a CDK-based frontend stack that provisions an S3 bucket, Origin Access Control, CloudFront distribution, and deployment steps with proper cache policies.
  • Enable SPA routing with CloudFront custom error responses and automated invalidation after deploy, ensuring smooth navigation and fresh content.

Quick Start

Set up a Vite + React app and deploy it to S3 behind CloudFront.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: setup-frontend
Download link: https://github.com/schuettc/website-deployment-plugin/archive/main.zip#setup-frontend

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.