Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 573 Bytes

README.md

File metadata and controls

32 lines (23 loc) · 573 Bytes

An example of an app with a React front-end that allows users to upload files to an S3 bucket.

Usage

Prerequisites:

  • Install the latest version of Wing.
  • Set up an AWS account.

Install the dependencies and build the website:

cd website
npm install
npm run build
cd ..

To build the project and run it locally using the Wing console:

wing run main.w

To compile the project to Terraform/OpenTofu and deploy it to AWS:

wing compile -t tf-aws main.w
cd target/main.tfaws
terraform init
terraform apply