Top 5 Courses to Learn GraphQL in 2019
Is GraphQL going to replace REST?
Join the DZone community and get the full member experience.Join For Free
Hello all, you might have heard about GraphQL, another exciting technology. GraphQL is gaining a lot of popularity because of its superiority over traditional REST APIs. Many big companies like Facebook, Coursera, GitHub, and Yelp have already started using it, which has also helped a lot in terms of gaining popularity. There is a good chance that you might have already heard about GraphQL in blogs posts, on Medium, or online in general, but like many others, you're not sure whether it's worth learning or not, and if you decide to, where do you start? Well, I have been learning GraphQL since last week, and I would like to share some of the resources I have been using for my learning.
If you want to learn GraphQL, you can benefit from these courses, and if you happen to be a GraphQL expert, maybe you can let me know if I am headed in the right direction or not. You can also suggest some great GraphQL resources that are not mentioned in this list, and I will have a look.
Anyway, before I go into which courses to learn GraphQL in 2019, let me give you a brief overview of what GraphQL is and why a web developer should learn it.
What Is GraphQL?
GraphQL is nothing but a query language from Facebook that aims to solve problems with RESTful Services like a lot of endpoints, under-fetching, and over-fetching of data and versioning. It provides a wrapper around APIs, which makes it easier from the front-end to use a single endpoint to get all the things they need.
For, example GitHub's REST API for user data returns user details, which contain 31 fields. If you are just interested in id, location, and URL, then you are fetching a lot of unnecessary data, which could impact the performance and scalability of your application.
GraphQL solves this problem by wrapping this API and providing a simpler interface based on your requirements. It also makes it easier to evolve APIs over time and enables powerful developer tools. Once you start using GraphQL, I'm sure you will also start loving its flexibility, type-safety, and community of support.
Because of these awesome qualities, GraphQL is getting more and more popular every passing day, and who knows, it may replace REST in the coming years. Many companies, like Coursera, have already used GraphQL for their API. They have also built tools that can dynamically translate their REST APIs to GraphQL.
If these things excite you and you want to try GraphQL or explore more, you can check out the courses below.
Top 5 GraphQL Courses for Web Developers
There are so many GraphQL resources on the internet, and it's difficult to choose which one is the best, but you don't need to. All you need to do is try a couple of courses and stick with the one where you can connect with the instructor because that's what makes the whole difference.
It doesn't matter if that course is not in-depth or that is doesn't cover everything about GraphQL because as a beginner, it's more important to learn the important things and learn them well.
As I have told you before, I was a nerd and preferred to learn everything from books until a couple of years ago, but now I totally rely on online training courses. I find them more active, interesting, and engaging. So whenever I have some free time, I learn from these courses.
Anyway, enough about learning from online courses, now let's see some of the GraphQL courses I have bought to learn GraphQL from scratch.
In this course, you will learn and master GraphQL by building real web apps with React and Node.js. The course is perfect for both beginners and experienced developers starting with GraphQL.
This is also the first GraphQL course I bought because I am a huge fan of Stephen Grider. I attended his React course, and I not only like his teaching skills but also how he delivers his courses and his subject-matter expertise. All his courses are top notch, and this one is no different.
You will not only learn about GraphQL but also about Apolo Client to communicate with GraphQL from your web application. You will also learn to build a single page application using React.js and GraphQL.
On the Social side, this course is one of the best sellers with a 4.6 rating from close to 28,000 students, which speaks volumes about the quality of this course.
Though I like this course, there is one downside to it; you need to know React.js. If you don't, then this is probably not the right course for you.
If, for some reason, you are not able to connect to Stephen Grider's course or you don't know React but want to learn GraphQL, then this is another awesome course to start with.
In this course, instructor Xavier Decuyper will teach you everything you need to know to build your own GraphQL API. I particularly liked the way he compared REST with GraphQL and highlighted the shortcomings of REST APIs in terms of over-fetching and under-fetching data.
This is also one of the highest-rated GraphQL course on Udemy, with a 4.8 rating from 162 ratings given by 761 students enrolled. The numbers are not as big as the first course, but the material is awesome, and I can say that because I simply loved the course.
This is another awesome GraphQL course from Udemy that will teach you how to build GraphQL applications using Node.js. It includes Prisma, authentication, Apollo Client, and much more.
If you have been on Udemy, you may know Andrew Mead, one of the most popular instructors. Having attended his Node.js course, I have become a big fan of him. Much like John Thompson, Colt Steele, and Stephen Grider, he is also one of my favorite instructors on Udemy.
This is a gem of a course, and I strongly recommend this to every web developer who wants to learn GraphQL. Andrew focuses on project-based learning, which is, in my opinion, the best way to learn a new technology or framework.
You will first understand GraphQL concepts and what it offers in comparison to REST before delving into details for creating GraphQL schemas, building an API, and testing it.
On the social site, the course has a 4.8 rating from 1,137 ratings given by 8,211 students enrolled in this course.
For a change, this is a GraphQL course from Pluralsight. Since I also have a Pluralsight membership, I often go there are looking for courses on the latest technology. Luckily, I found this course, which is seriously awesome.
In this course, instructor Sameer Buna will teach you how to build and consume GraphQL APIs with real-world examples. You will not only learn about consuming GraphQL APIs, but you'll also learn how to build your own GraphQL APIs.
You'll also learn about how to create a GraphQL schema and how to use it via an interface, including an HTTP-based one, along with different features of the GraphQL language as well as how to build them in a GraphQL server.
In short, it's a good course to learn GraphQL from scratch, particularly if you have a Pluralsight membership. If not, I suggest you get one because Pluaralsight is an awesome place to learn new things.
You can also take this course for free by taking their 10-day FREE Pass, which provides 200 minutes of access (the course is 2 hours 10 m long) to all of their courses.
This is the fourth GraphQL course I bought on Udemy. Yeah, I often go on a shopping spree on Udemy, especially during their crazy sales when they sell courses for just $10 or less.
This means you will not only learn how to consume a GraphQL API using HTTP, but you'll also learn how to use Appolo client. The course also teaches you essential things about GraphQL Server and GraphQL Schema.
Talking about social, the course has a 4.6 rating from 256 ratings given by 1,392 students enrolled, which is not bad. In short, it's a nice course to learn GraphQL if you like learning by examples.
That's all about some of the best courses to learn GraphQL in 2019. As I said, GraphQL looks really promising and can be used as an alternative to REST, and many companies like Coursera are actually using it. I have just started learning GraphQL and still have a long way to go, but what I have learned so far shows that GraphQL is here for the long run and every web developer should explore it.
By the way, GraphQL also has limitations like a GPL query that always returns an HTTP status code of 200 OK, even if the query is not successful, this issue can make error handling difficult. Another problem is caching; GraphQL lacks built-in caching support, so you must provide your own caching support.
Thanks for reading this article! If you like these GraphQL courses, then please share with your friends and colleagues. If you have any questions or want to share books or courses that are useful for anyone learning GraphQL, please drop a comment.
P. S. If you're interested in learning GraphQL but looking for a free resource to start with, GraphQL — A Primer on Udemy is perfect to start with. It's completely free and provides a nice overview of GraphQL from a beginners perspective.
Other Programming and Development Articles You May Like
Published at DZone with permission of Javin Paul, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.