Connect Repository
Step 1: Access the AWS Amplify Service
- Log in to the AWS Management Console and search for the AWS Amplify service.
- On the Amplify homepage, scroll down to the Amplify Hosting section.
- Click the Get started or Host your web app button depending on your displayed interface.

Step 2: Choose a source code provider (GitHub)
For Amplify to automatically fetch the code and deploy it, you need to grant it access to your repository.
- On the repository selection screen, check GitHub (or GitLab/Bitbucket depending on where you host your React Vite source code).
- Click the Continue button.
- A GitHub authorization window will pop up. Log in to your GitHub account and click the Authorize AWS Amplify button to grant AWS permission to read your source code.

Step 3: Select Repository and Branch
- After successful authorization, you will be automatically redirected back to the AWS Amplify console interface.
- Under Recently updated repositories, open the dropdown list and select the correct repository containing your React Frontend source code (Example:
ecommerce-react-frontend). - Under Branch, select the branch you want to configure for automatic deployment (typically the
main or master branch). - Ensure the “Connecting a monorepo” checkbox is NOT checked (since our project has separated the Frontend and Backend).
- Click Next to proceed to the Build settings configuration step.
