Gatsby JS & Firebase: HYBRID Gatsby realtime + static sites
4.6 (124 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
686 students enrolled

Gatsby JS & Firebase: HYBRID Gatsby realtime + static sites

Build Gatsby JS static sites with realtime firestore, cloud functions, storage, auth, Gatsby + React hooks & GraphQL!
4.6 (124 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
686 students enrolled
Created by Tom Phillips
Last updated 5/2020
English [Auto-generated]
Current price: $13.99 Original price: $19.99 Discount: 30% off
5 hours left at this price!
30-Day Money-Back Guarantee
This course includes
  • 5 hours on-demand video
  • 5 articles
  • 5 downloadable resources
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
Training 5 or more people?

Get your team access to 4,000+ top Udemy courses anytime, anywhere.

Try Udemy for Business
What you'll learn
  • Increase your value as a React developer
  • Learn Gatsby
  • Set up Gatsby to generate pages from data stored in Firebase
  • Implement a realtime chat / comments section using firestore
  • Provide registration and login functionality using the firebase authentication service
  • Use firebase cloud functions for server-side authentication
  • Use firebase cloud functions with cloud storage for file uploads
  • Learn how to query firestore data using GraphQL from our Gatsby JS app
Course content
Expand all 66 lectures 05:00:13
+ Building the Gatsby Book Club pages
3 lectures 15:22
Querying firebase data GraphiQL
Querying firebase data from Gatsby with GraphQL
Dynamically creating pages for each Book within Gatsby
+ Recapping the code so far
2 lectures 07:14
How createPages works
Insight into GraphQL queries
+ Improving the Layout & BookTemplate styling
5 lectures 21:04
Updating the Layout component and rendering it for the BookTemplate
Adding the book data to the BookTemplate
Creating a common BookItem component with Styled Components
Adding additional book data
Refactoring the BookItem component
+ Images with firebase cloud storage & rendering in Gatsby
6 lectures 29:00
Uploading images to firebase cloud storage & referencing in the database
Rendering the book cover images in Gatsby
Styling the book cover within the BookItem component
Refactoring the rendering of the book cover images
Use gatsby-image and GraphQL to query for specific image resolutions
Refactoring gatsby-node.js and bookTemplate.js
+ Real-time functionality with firebase
8 lectures 46:24
Installing dependencies and initial setup
IMPORTANT! REQUIRED for next lecture: npm package changes
Overview of boilerplate & starting to implement login with React hooks & context
Creating and hooking up the login form
Displaying user email and login / logout links
Cleaning up styling of the Header component
Updating how pages are rendered using gatsby-browser.js and gatsby-ssr.js
Creating Form, Input, & Button common components
+ Building the registration functionality & UI
3 lectures 12:55
Build the register page
Add state to the register page
Finish up the registration functionality
+ Handling validation errors
2 lectures 07:45
Validation in the login page
Validation in the register page
+ Implementing public profiles
4 lectures 18:31
Creating the publicProfiles collection in firebase
Creating the getUserProfile query + intro to firebase rules
Displaying the username in the header
Adding the username field to the registration
+ Building the comments section
4 lectures 22:28
Creating the comments subscription
Creating example comments & finishing the comments subscription
Displaying comments in the UI
Creating the post comment form
  • Basic understand of React, git, terminal commands, and npm is required, everything else is covered!

Do you want to increase your value as a front-end / React JS / Gatsby developer?

Then this Gatsby JS & Firestore with React Hooks course is for you!

Level-up your React skillset by learning the Gatsby.js framework with Firebase - this is an awesome HYBRID stack, where we can generate static pages in Gatsby JS from data stored in firestore, but also allow dynamic and realtime functionality such as login / registration, and realtime chat & comments

We'll be creating the "Gatsby book club" - and we'll look at how we can query firestore data in Gatsby with GraphQL using the GraphiQL browser tool.

We'll be setting up Gatsby to build static sites based on data stored in firestore and firebase cloud storage ☁️ based on GraphQL queries. We'll use the realtime capabilities of firestore to implement a realtime chat / comments section for each book, and we'll be using the firebase authentication service to provide real-time registration and login functionality to our Gatsby app.

No app is complete without an admin section, so we'll be implementing an admin section in our Gatsby app that allows admins to create new authors and new books, as well as implementing a file upload feature using firebase cloud functions with firebase cloud storage.

Once we've finished our Gatsby app, we'll take a look at how to deploy a live version of our Gatsby site using Netlify, and implement an auto-rebuild of our Gatsby site any time we add new books.

⚡️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 Netlify for this) - ready to be delivered instantly to your users wherever they are.

Some advantages of 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 by Gatsby and ready to serve instantly to your users!

We certainly cover a LOT in this Gatsby course!

What other students are saying about the Gatsby & Firebase course:

⭐️⭐️⭐️⭐️⭐️ 5/5 stars: "Great job for creating this Gatsby.js course. Highly recommended for intermediate React.js developers." - Siegfred Balona

⭐️⭐️⭐️⭐️⭐️ 5/5 stars: "This is a very good course for developers who are already familiar with React. It took me 4 days to complete the course. It covers many practical parts of Gatsby that can immediately be applied to real-world projects. I will definitely take more courses from Tom." - Ye Joo Park

⭐️⭐️⭐️⭐️⭐️ 5/5 stars: "The lecturer speaks in a clear and concise manner, the build up of the course is also good. I recommend that you learn about the essentials about Gatsby on beforehand as there are a lot of semi-advanced Gatsby techniques at play here (which is great learning about)." - Ole Ulrik Skipperud

Who this course is for:
  • Web developers who want to increase their value as a React / front-end developer
  • Web developers who want to learn how to use Firebase features such as firestore, cloud functions, and cloud storage
  • React developers who want to learn GraphQL and query Firestore data using GraphQL
  • React developers who want to learn how to generate static sites with the Gatsby framework