Summary
In this chapter, we learned what GraphQL is and how it can be more flexible than REST while requiring less boilerplate code, especially when querying deeply nested objects. Then, we implemented GraphQL in our backend and created various types, queries, and mutations. We also learned how to integrate JWT authentication in GraphQL. Finally, we wrapped up the chapter by learning about advanced concepts, such as the type system, fragments, and introspection.
In the next chapter, Chapter 12, Interfacing with GraphQL on the Frontend Using Apollo Client, we are going to learn how to access and integrate GraphQL in our frontend using React and the Apollo Client library.