How Gatsby works

sakethkowtha

sakethk

Posted on June 14, 2021

How Gatsby works

https://cdn-media-1.freecodecamp.org/images/1*8JLlG_T6onoeW2mVjVT_Gw.png

Gatsby is static site generator. it has three phases

  1. Collecting data sources
  2. Building
  3. Deploying

Collection step

In this step it will collect the data from sources here the sources are Databases or XML files or CSV or Text files or JSON or Wordpress or anything.

Building step

Once data is collected then we can access it from source code with the help of graphql. Here we cannot mutate the existing data

Deploying

Once we are done with development we can build the app and we can host that build files in any static web host sites like Amazon S3, Netlify, Github pages, now.sh and many more...

💖 💪 🙅 🚩
sakethkowtha
sakethk

Posted on June 14, 2021

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related

About Gatsby
javascript About Gatsby

June 14, 2021

How Gatsby works
javascript How Gatsby works

June 14, 2021