Deploying a React Application using GitHub, AWS Amplify and S3
A few years ago, I built a front-end web app with React and deployed it to AWS Amplify. I thought it would be nice to document my process for deploying the application and to show how easy it is to deploy your apps in a matter of minutes using AWS Amplify. Amplify allows you to connect your frontend project hosted on a code repository like GitHub and handles the build process for your web app. The video on the homepage and image files are hosted on Amazon S3.
What is AWS Amplify?
Steps to deploy a React web application to AWS Amplify:
Log in to the AWS Management Console and navigate to the Amplify console.
Click on the "Get Started" button to create a new web app.
Select "GitHub" as the source provider and authorize the connection to your GitHub repository.
Select the repository that contains your React application and configure the build settings, such as the build command and output directory.
Click on the "Save and Deploy" button to start the build and deployment process.
Once the deployment is complete, you will see the URL of your deployed application in the Amplify console.
You can also set up a custom domain for your application by clicking on the "Domain" tab in the Amplify console.
To test the application, visit the URL or custom domain in a web browser.
To make changes to your application, simply push updates to your GitHub repository and Amplify will automatically build and deploy the changes.
Here is the final result of the web application we have deployed with interesting web and mobile views https://master.d2rh789rxw04r.amplifyapp.com/
NB: Best viewed on a desktop/large screen.