GraphQL is a query language for APIs that helps them work with your existing data. It provides a complete description of the data in your API, and you can only request the exact data you need and nothing more. It also makes it easier to improve APIs if they need it and has very powerful developer tools.
In this chapter, we are going to learn how to use GraphQL in a real project by creating a basic login and user registration system.
We will cover the following topics in this chapter:
- Installing PostgreSQL
- Creating environment variables with a .env file
- Configuring Apollo Server
- Defining GraphQL queries and mutations
- Working with resolvers
- Creating Sequelize models
- Implementing JWTs
- Using GraphQL ...