GraphQL is a new API standard built by Facebook and designed to be an efficient, robust, and flexible alternative to REST. In REST, the server defines the shape and size of the resource provided by an endpoint. Often this means multiple requests to the server to get precisely the data you want with far too much additional data provided.
This is slow and often confusing.
GraphQL solves this problem by providing you (the consumer of the data) the ability to define exactly what you need while allowing you the freedom to request as much or as little data as you want.
In this course, you will learn how to set up a GraphQL server with Node.js and Express persisted by MongoDB. Step by step, you’ll create GraphQL Mutations to update and delete data, GraphQL Queries to load all/specific data you need, and connect to MongoDB through Mongoose to persist the data on your server.