Let's Get started.
we will follow a step-wise procedure for the deployment of our react-app.
2.After creating the react-app get inside the project folder and run the below command.
npm run build
The above command creates a new folder with "build" name inside your project folder as shown in below pic.
3.Now open .gitignore file in you project folder and remove /build
Now let's get into AWS amplify
Now click on get started and you will be redirected to:-
Now click on deliver and get started
2.Now you will be redirected to the following page:-
Now click on Github and continue by giving access to aws amplify with your github account.
You will be redirected to the following page:-
Select your git repository which you have uploaded before and click on next.
Now you will have to click on checkbox and type build in the project root folder and click next.
Now you will be redirected to following page:-
Click on checkbox and click on next button
Click on save & deploy.
Now click on the link your website should be visible.