{"id":284086,"date":"2019-03-12T07:24:15","date_gmt":"2019-03-12T14:24:15","guid":{"rendered":"http:\/\/css-tricks.com\/?p=284086"},"modified":"2019-03-12T07:24:15","modified_gmt":"2019-03-12T14:24:15","slug":"getting-into-graphql-with-aws-appsync","status":"publish","type":"post","link":"https:\/\/css-tricks.com\/getting-into-graphql-with-aws-appsync\/","title":{"rendered":"Getting into GraphQL with AWS AppSync"},"content":{"rendered":"
GraphQL<\/a> is becoming increasingly popular. The problem is that if you are a front-end developer, you are only half of the way there. GraphQL is not just a client technology. The server also has to be implemented according to the specification. This means that in order to implement GraphQL into your application, you need to learn not only GraphQL on the front end, but also GraphQL best practices, server-side development, and everything that goes along with it on the back end.<\/p>\n <\/p>\n There will come a time when you will also have to deal with issues like scaling your server, complex authorization scenarios, malicious queries, and more issues that require more expertise and even deeper knowledge around what is traditionally categorized as back-end development.<\/p>\n Thankfully, we have an array of managed back-end service providers today that allow front-end developers to only worry about implementing features on the front end without having to deal with all of the traditional back-end work.<\/p>\n Services like Firebase<\/a> (API) \/ AWS AppSync<\/a> (database), Cloudinary<\/a> (media), Algolia<\/a> (search) and Auth0<\/a> (authentication) allow us to offload our complex infrastructure to a third-party provider and instead focus on delivering value to end users in the form of new features instead.<\/p>\n In this tutorial, we\u2019ll learn how to take advantage of AWS AppSync, a managed GraphQL service, to build a full-stack application without writing a single line of back-end code.<\/p>\n While the framework we\u2019re working in is React, the concepts and API calls we will be using are framework-agnostic and will work the same in Angular, Vue, React Native, Ionic or any other JavaScript framework or application.<\/p>\n We will be building a restaurant review app. In this app, we will be able to create a restaurant, view restaurants, create a review for a restaurant, and view reviews for a restaurant.<\/p>\n