Gatsby JS, Contentful & Gatsby Cloud (Gatsby JS V3 2021)
Use Gatsby JS to build rapid static sites with Contentful as a headless CMS and deploy your Gatsby site to Gatsby Cloud.
Improve your React JS skills and increase your value as a front-end developer 💵
- "Gatsby lets you build blazing fast sites with your data, whatever the source. Liberate your sites from legacy CMSs and fly into the future."
In this course we'll be building a Gatsby site from a Contentful CMS data source, style our app using styled-components, and deploying to Gatsby Cloud!
Level-up your React skillset by learning Gatsby.js with a Contentful CMS backend! Gatsby JS uses React JS and GraphQL to generate and build static pages from a given dataset. This course will look at setting up Contentful as a headless CMS while using GatsbyJS to generate a blazing-fast server-rendered React website from Contentful data, such as pages, menus, media, (and more!) using GraphQL to query that data.
We'll be creating a landing page website with a paginated blog section and contact page in this course, looking at initial setup and development of Gatsby JS and Contentful locally, creating React components in Gatsby based on Contentful data, and querying Contentful data with GraphQL to automatically generate our static pages.
No landing page is complete without a contact form so we'll be creating a contact page in Gatsby where we can update our form fields within Contentful and use Formspree to capture our user's email address and various other details.
We'll look at how we can query Contentful data with GraphQL using the GraphiQL browser tool. Once we're familiar and comfortable developing with GatsbyJS and Contentful, we'll progress onto setting up and deploying a live website using Gatsby Cloud that re-builds our static web pages every time we update content in our Contentful backend, as well as allowing us to preview changes before publishing them using Gatsby Cloud Preview.
It's recommended you have rudimentary knowledge of React. We'll be covering everything else from Gatsby.js, Contentful, GraphQL, and styled-components!
Speed past the competition with Gatsby!
Gatsby.js builds the fastest possible website. Instead of waiting to generate pages when requested, Gatsby pre-builds pages and lifts them into a global cloud of servers (we'll be using Gatsby Cloud for this) - ready to be delivered instantly to your users wherever they are.
Some advantages of using Gatsby include:
- No waiting for API responses
- No waiting to render components based on requested data
- No loading spinners!
- No waiting for a server to compile a page to serve to the browser - these pages are already pre-compiled with Gatsby and ready to serve instantly to your users!
We certainly cover a lot in this Gatsby course!
Course Curriculum
- Rendering rich text from contentful in Gatsby (5:37)
- Creating the Hero in contentful and embedding it in Rich Text (5:00)
- Rendering the Hero component in Gatsby (part 1) (11:58)
- Rendering the Hero component in Gatsby (part 2) (10:44)
- Creating the Pricing blocks in contentful and embed in Rich Text (6:41)
- Rendering the Pricing component in Gatsby (8:14)
- Finish styling the Price Options (6:16)
- Rendering an embedded image (8:19)
- Create the main blog page in contentful (7:44)
- Create the blog posts in contentful (3:14)
- Render the blog posts in Gatsby using gatsby-node.js (part 1) (7:54)
- Render the blog posts in Gatsby using gatsby-node.js (part 2) (9:01)
- Implementing the Blog pages (7:58)
- Creating the blog and pagination component (10:32)
- Implement styling for active page
Your instructor
Hey! My name's Tom. I've taught Gatsby with various integrations to over 2,000 students and counting. My aim with this course is to increase your value as a developer and to bring you up to speed with the proper way to use this stack.