This repo contains the frontend code for the landing page of https://shrutiandskye.com/. The landing page is a npm based React app.
I have a CI/CD pipeline set up that builds this React app and deploys the assets to a AWS S3 bucket that hosts the static assets. The assets are distributed via the AWS CloudFront CDN.
npm start
to test the code locally in your browsernpm run build
, this will create a build folder with the static assetsserve -s build
an open the link outputted in the terminal in a browser to verify the changes.Any commit to the main branch will automatically trigger a build in the CI/CD pipeline and deploy the build assets to the s3 bucket that hosts the website.
https://www.bluelabellabs.com/blog/deploy-reactjs-app-aws-s3-cloudfront/