Chapter 5: Creating a Blog Post with Amplify GraphQL
In this chapter, we will be covering a very important part of creating an Amplify app; that is, letting users store and query their data with GraphQL. Back in the days before the GraphQL API existed, we had the RESTful API, which did not have a common standard for how to manipulate or query data. It was all up to the backend developers, which caused more delays during development. GraphQL removed the complexity of the API schema for frontend developers.
GraphQL standardizes the API schema, thus making it easy to define as a common practice and standard. Therefore, if you or your development team adopt GraphQL as your middle tier to interact between the frontend app and the backend business layers, it can speed up the development time and remove the dependency of waiting for both sides. The Amplify CLI can help you generate the GraphQL code based on the GraphQL data model schema that you define. We will learn how to do this by...