Skip to content
Go to file
Cannot retrieve contributors at this time
37 lines (24 sloc) 3 KB
title disableTableOfContents
Gatsby.js Tutorials

Welcome to Gatsby! We’re glad you’re here. The goal of this tutorial is to guide you through setting up and deploying your first Gatsby site using a starter template. As we walk through that process, we’ll introduce some more general web development topics, and go over the underlying structure of a Gatsby site.

The full tutorial is intended to be as accessible as possible to people without much web development experience (yet!) — no need to be an expert. If you prefer to jump straight to code, feel free to skip the step-by-step tutorial and see the quick start page.

Gatsby fundamentals

  1. Set up your development environment: We'll introduce you to core technologies that power Gatsby, and guide you through setting up your development environment.
  2. Get to know Gatsby building blocks: Starting new projects, developing, and deploying sites.
  3. Introduction to using CSS in Gatsby: Explore libraries like Typography.js and CSS Modules.
  4. Building nested layouts in Gatsby: Layouts are sections of your site that are reused across multiple pages like headers and footers.

Intermediate tutorials

In these intermediate tutorials, you'll learn how to pull data from almost anywhere into your Gatsby site with GraphQL.

  1. Querying for data in a blog: Create a blog and use a GraphQL query to pull your site title into the blog header.
  2. Source plugins and rendering queried data: Use a source plugin to pull Markdown blog posts into your site and create an index page with a list of blog posts.
  3. Transformer plugins: Use a transformer plugin to transform your Markdown blog posts into a form the blog can render.
  4. Programmatically create pages from data: Learn how to programmatically create a set of pages for your blog posts.
  5. Preparing a site to go live: Learn how to audit your site for performance and best practices for accessibility, SEO, and more.

Plugin & Theme tutorials

Gatsby plugins are a way to encapsulate, re-use, and compose functionality, such as data sourcing. Gatsby themes are a type of plugin which abstracts your default configuration (shared functionality, data sourcing, design) out of your site and into an installable package.

Learn how to build and use plugins and themes step-by-step in the Plugin and Theme Tutorials.

Additional tutorials

There are many use cases for Gatsby, some of which aren't covered in the first set of tutorials to keep you focused while learning. Gatsby's How-To Guides section is a collection of resources showing how to complete even more Gatsby tasks step-by-step, such as using source plugins for images and CMS content.

Go deeper with additional How-To Guides.