STEP1: First login the AWS console using root user

STEP2: Create react app
commands are:
node -v
npm -v
npm create vite@latest
cd kamali
npm install
npm run dev

STEP3: open the App.tsx from the kamali folder and edit your name, reg number and quote.

.
STEP4: Create S3 bucket in AWS


STEP5: Enable the static web hosting

STEP5: Generate Policy for your S3 bucket

STEP6: Upload the dist folder from the react app folder then copy the index.html URL and paste the URL in the browser
STEP7: Create Cloudfront distribution and disable the WAF


STEP8: Copy the distribution Domain name then paste the URL in the Browser

STEP9:Finally delete the cloudfront distridution and S3 buckets.





Top comments (0)