Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Build Gatsby site with React and WordPress as a headless CMS
Rating: 4.0 out of 5(21 ratings)
470 students

Build Gatsby site with React and WordPress as a headless CMS

Create a REAL WORLD Front End with Gatsby.js, React and WordPress as a Headless CMS!!
Created byTech Vista
Last updated 10/2022
English
English [Auto],

What you'll learn

  • Setup a project from scratch with Gatsby CLI
  • GraphQL
  • Integrate WordPress as a headless CMS to Gatsby
  • Create website using Gatsby and WordPress(Headless CMS)
  • React Wordpress

Course content

7 sections45 lectures4h 7m total length
  • Introduction2:17

    Learn to build a blog website using Gatsby and WordPress as a headless CMS, combining HTML, CSS, and ReactJS to create front end pages, categories, posts, and pagination.

  • Setup WP Site using Local by FlyWheel6:22

    Set up a WordPress site with Local by Flywheel using the starter file, then import and run the site. WordPress serves as backend and Gatsby as frontend to fetch data.

  • WP site and needed WP Plugins7:08

    Activate the Gatsby source WordPress plugin and WP GraphQL to connect WordPress data, including custom fields, to the Gatsby front end, exploring posts and pages.

  • Short about tooling1:22

    Set up the essential tooling for this course by installing node from nodejs.org to get npm, the package manager, and using Visual Studio Code as your code editor.

  • Create a new Gatsby Project with Gatsby CLI3:47

    Create a new Gatsby project with the Gatsby CLI, run gatsby new, install dependencies, and start the app to view localhost:8000, after installing the required node and npm versions.

  • Install Dependencies2:41

    Install the required dependencies for the Gatsby site: gatsby-plugin-google-fonts, styled-components, and gatsby-source-wordpress, then start the app and verify it runs on localhost:8000.

  • Copy from Starter Files and cleanup11:05

    Copy starter files including images, components, and templates from the Gatsby hyphen WP folder into your project, then replace and merge, clean up package.json, and run the site to verify.

  • Setup Gatsby plugins6:37

    Configure Gatsby plugins for image handling, WordPress source, manifest, style components, and Google fonts; set siteMetadata; point to the local WordPress GraphQL endpoint; run and verify the local site.

Requirements

  • Basic knowledge of Javascript

Description

Gatsby with WordPress as a headless use React and the static site generator Gatsby to build a front end for a WordPress site
Create a REAL WORLD CLIENT Front End with Gatsby.js and WordPress as a Headless CMS!!

This course will NOT teach you how to build a WordPress site. The actual WordPress backend is pre built and I will not show how to build that. The sole purpose of this course is to teach Gatsby and how you can use Gatsby to create a Front End from a WordPress CMS. The purpose is NOT to show how the complete site is built with WordPress.

Are you a developer that like “code along” style learning? Do you want to learn Gatsby.js fundamentals in a real world project oriented course? Do you like quick learning and straight down to the point? Then this is the course for you!

In this course we’re building a real world website in Gatsby.js

My teaching style and belief is that you learn more by creating many smaller projects than one overwhelming 25 + hours course that tries to show you everything and don’t focus on the fundamentals that much. So this is a shorter, project oriented, course where You’ll learn how to create a real world client site from scratch with Gatsby.js. Gatsy uses GraphQL by default so this is an awesome way to start with some GraphQL.


What this course is!

  • This is an intermediate course. I assume that you know some Javascript and React

  • This is a quite fast paced project oriented course to learn the fundamentals of Gatsby.js

  • This is a course were you will learn GraphQL basics.

  • This is a “code along” style of course.

  • This is a course were you will learn how to connect an existing WordPress site to Gatsby.js and use it as a Headless CMS.

  • This is a course were you will use React. It will not teach basics of React but it should be good for an intermediate React developer.

  • This is a course that uses a lot of ES6 Syntax.

What this course IS NOT!

  • This course is not a beginner React course

  • This course will not deeply explain React syntax.

  • This course will not teach GraphQL in detail. (We will use it though and should be a great overview/start to learn GraphQL)

  • This course will not teach WordPress and how the actual WordPress backend is built. We’re not building anything in WordPress. The course is focused to learn Gatsby.js and how to connect an existing WordPress site to Gatsby.

My main goal with this course is to mix fun with teaching. There’s many tutorials and courses out there that are great but too complex and focus on a lot at the same time. Hope you enjoy it too!

Please make sure to download the STARTER FILES from the resources!

Who this course is for:

  • Students who wants to create projects on Gatsby and Wordpress