Git Product home page Git Product logo

blog's Introduction

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.

Hosting

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)

Run app

  1. go to app folder cd app
  2. install dependencies npm i
  3. run npm start

Setup AWS

  1. Install the AWS CLI
  2. 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
  3. Add these keys to repository settings -> Security (Security and Variables) -> Repository secrets. They will be used by ci/cd.

Manually Deployment Instructions to AWS

  1. go to infrastructure folder cd infrastructure
  2. install dependencies npm i
  3. provise specific AWS resources in your environment that are used by the AWS CDK npm run bootstrap (this step is required only once)
  4. generate the CloudFormation template for your stack npm run synth
  5. deploy your stack to AWS npm run deploy

blog's People

Contributors

wfz1 avatar akhudiakov97 avatar

Watchers

Nikita avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.