Our great sponsors
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
In this second episode, we want to deploy a static frontend app to be served by AWS from an S3 bucket. In this example, we will deploy a React app.
in order to create the S3Objects, we need to find the MIME types for each file. We use the library mime-types
you will find in dumpster.js the function getFiles that will retrieve all the file names in the given directory. It uses the asynchronous functional library rubico. This function is imported inside iac.js and used to create multiple S3Objects.