7 days of WordPress plugins, themes & templates - for free!* Unlimited asset downloads! Start 7-Day Free Trial
FREELessons: 10Length: 1.2 hours

Next lesson playing in 5 seconds

Cancel
  • Overview
  • Transcript

4.1 Conclusion

Gatsby is a fantastic tool for building fast websites, but it's not a "one size fits all" tool. For instance, it won't replace your applications that need high security or constant updates. But chances are it could be used to replace some of your existing projects.

My name is Jeremy McPeak, and from all of us here at Envato Tuts+, thank you for watching!

Related Links

4.1 Conclusion

So now you know everything that you need to get started developing and building static sites with Gatsby. It really is a fantastic framework and it's something that I can see being used more and more in the future. I know that I will definitely use Gatsby more in my projects, especially those that don't require any user authentication or authorization or anything like that. I mean, it's not a one size fits all solution, but really there's nothing that is a one size fits all solution. There are some very specific reasons to use Gatsby and if you just need a dynamic site without user authentication or authorization, then Gatsby is a perfect option for you. Now, it's not the first static site generator. In fact, far from it, there's many that have come before it. But in my opinion Gatsby is the first approachable tool because it uses JavaScript. Everybody knows JavaScript it uses React. And while not everybody knows how to use React, it's very easy to pick up and very logical to use in my opinion. And I know that we just talked about working with JSON in this course. But really, once you know how to work with one type of data, you know how to work with all of them because there's a plugin for just about anything. In fact, right here, the text, need anything there's a plugin for that. So your data is in an RSS feed, do a search for RSS under plugins and you're going to find a plugin for working with RSS in Gatsby. Now of course, these first ones are for generating RSS but if you scroll on down, you're gonna find one that's for a source. And that is the main thing that you want to look for. If your data is in WordPress or Drupal, or some files on the file system, maybe CSV's. You want to do a search for Gatsby-source, because it's the source plugins that allow you to pull in data that you can then query with GraphQL. And the wonderful thing is, everything is very well documented. So, if you need to use the RSS source plugin, then the documentation is going to tell you how to configure that plugin, and how to query the data with that plugin. Gatsby is very well documented, so be sure to take advantage of that documentation. Now, one other thing that we didn't talk about is how to deploy your application. Well, that's very simple, the very first thing you need to do is build it and you do so with Gatsby build. And then that will build your project into the static sites that you can then deploy to, well, anything. It could be your own web server, it could be a server on AWS or Azure. It can even be GitHub pages. It really doesn't matter because it's a static site. All you have to do is move those files to wherever you need to on your web server regardless of where that web server is and how you get the files there and you are good to go. The files are inside of the public folder. So once the build is done, you would just need to go to the public folder and there we go. There is your static site. I know I've said this several times, but this truly is a wonderful tool. Thank you so much for watching this course. Please feel free to contact me through Twitter, or the Tuts+ forums if you have any questions. From all of us here at Tuts+, thank you and I will see you next time.

Back to the top