Learn how to migrate from REST APIs to GraphQL. Convert your REST APIs operations into GraphQL mutations and queries.
- [Emmanuel] Over the past few years, GraphQL has evolved into a nearly perfect tool to officially query multiple databases, especially if you work with React. For the backend developer, you might be wondering, when should you start using this tool? Or how should you migrate your current REST API to GraphQL? These are the questions that I'll address in this course. Hi, I'm Emmy Henri, and I've been using GraphQL since it was introduced. And this course can be taken as a first step if you're wanting to learn how to migrate your REST API over to GraphQL.
And it will be my pleasure to help you learn all about the process. First, we'll take a look at when and why should you be moving to GraphQL and then proceed with initial steps to set it up. Then we'll spend some time going over the basics of adding new data to your GraphQL server. Next, we'll focus on the most common queries and their syntax, along with arguments, fragments, and aliases. And finally, we'll finalize our typical backend operations with how to delete and update your data in a GraphQL environment.
So if you're ready to move your REST API while learning all about GraphQL, open up your favorite editor and let's get started.
- Setting up GraphQL
- Creating the initial schema and type
- Setting up simple queries
- Leveraging arguments and aliases
- Reading, updating, adding, and deleting items with GraphQL
- Posting data with mutations