Blog application made with Gatsby and deployed with using AWS CDK.
- Blog articles are completely generated from markdown files.
- News data are received from a third-party API (SSG).
- Currency page is served different content for each request for this page (SSR).
- tailwind is used as CSS framework.
- The application is deployed on AWS S3 and AWS Cloudfront per using the AWS CDK.
- The application also is deployed to Netlify and AWS Amplify.
- Full CI/CD using Github Actions.
Netlify: https://blog11111.netlify.app/
AWS CloudFront: https://d16tnwmd5nxnrh.cloudfront.net/ (Currency page doesn`t work)
AWS Amplify: https://homework.d30ykqhphozwql.amplifyapp.com/ (Currency page doesn`t work)
- go to app folder
cd app
- install dependencies
npm i
- run
npm start
- Install the AWS CLI
- Run
aws configure
in terminal and paste AWS Keys (Access Key ID, Secret Access Key) that you had created before with IAM console -> User -> Security credentials -> Access keys - Add these keys to repository settings -> Security (Security and Variables) -> Repository secrets. They will be used by ci/cd.
- go to infrastructure folder
cd infrastructure
- install dependencies
npm i
- provise specific AWS resources in your environment that are used by the AWS CDK
npm run bootstrap
(this step is required only once) - generate the CloudFormation template for your stack
npm run synth
- deploy your stack to AWS
npm run deploy