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
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
04:08
Querying firebase data from Gatsby with GraphQL
04:03
Dynamically creating pages for each Book within Gatsby
07:11
+ Recapping the code so far
2 lectures 07:14
How createPages works
02:59
Insight into GraphQL queries
04:15
+ Improving the Layout & BookTemplate styling
5 lectures 21:04
Updating the Layout component and rendering it for the BookTemplate
03:57
Adding the book data to the BookTemplate
01:43
Creating a common BookItem component with Styled Components
05:27
Adding additional book data
02:27
Refactoring the BookItem component
07:30
+ Images with firebase cloud storage & rendering in Gatsby
6 lectures 29:00
Uploading images to firebase cloud storage & referencing in the database
02:32
Rendering the book cover images in Gatsby
02:41
Styling the book cover within the BookItem component
02:56
Refactoring the rendering of the book cover images
05:23
Use gatsby-image and GraphQL to query for specific image resolutions
07:46
Refactoring gatsby-node.js and bookTemplate.js
07:42
+ Real-time functionality with firebase
8 lectures 46:24
Installing dependencies and initial setup
02:52
IMPORTANT! REQUIRED for next lecture: npm package changes
00:17
Overview of boilerplate & starting to implement login with React hooks & context
06:37
Creating and hooking up the login form
09:13
Displaying user email and login / logout links
09:33
Cleaning up styling of the Header component
04:39
Updating how pages are rendered using gatsby-browser.js and gatsby-ssr.js
07:07
Creating Form, Input, & Button common components
06:06
+ Building the registration functionality & UI
3 lectures 12:55
Build the register page
06:18
Add state to the register page
02:56
Finish up the registration functionality
03:41
+ Handling validation errors
2 lectures 07:45
Validation in the login page
04:05
Validation in the register page
03:40
+ Implementing public profiles
4 lectures 18:31
Creating the publicProfiles collection in firebase
03:13
Creating the getUserProfile query + intro to firebase rules
06:21
Displaying the username in the header
04:55
Adding the username field to the registration
04:02
+ Building the comments section
4 lectures 22:28
Creating the comments subscription
06:07
Creating example comments & finishing the comments subscription
07:31
Displaying comments in the UI
04:34
Creating the post comment form
04:16
Requirements
  • Basic understand of React, git, terminal commands, and npm is required, everything else is covered!
Description

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