Building a Backend with a GraphQL API
Up until now, we have only been interfacing with REST APIs. For more complex APIs that have deeply nested objects, we can use GraphQL to allow selective access to certain parts of large objects. In this chapter, we are first going to learn what GraphQL is and when it is useful. Then, we are going to experiment with making GraphQL queries and mutations. After that, we are going to implement GraphQL in a backend. Finally, we are going to briefly cover advanced GraphQL concepts.
In this chapter, we are going to cover the following main topics:
- What is GraphQL?
- Implementing a GraphQL API in a backend
- Implementing GraphQL authentication and mutations
- Overview of advanced GraphQL concepts