Check npm and node installed or not
npm -v
node -v
Creating a react app
Run the following Commands
npm create vite@latest
cd Nirosha
npm install
npm run dev
Follow the link to see the react app
The React App should run and the output should look like
Open the React App and Edit the App.tsx with your informations like name, reg number.
Run the command in visual studio code
Create S3 Buckets in Aws console
Block all Public access
Enable Static Web Hosting
Edit the Bucket Policy
Generate Bucket Policy & Save Changes
Upload all the Files and Folders in the dist folder in the React App to the S3 bucket
copy the index.html URL
CloudFront
Create Distribution
delete cloudfront



















Top comments (0)