<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>GraphQL on TommyGroshong.com</title>
    <link>https://tommygroshong.com/tags/graphql/</link>
    <description>Recent content in GraphQL on TommyGroshong.com</description>
    <generator>Hugo -- 0.151.2</generator>
    <language>en</language>
    <managingEditor>tom@groshong.software (Tommy Groshong)</managingEditor>
    <webMaster>tom@groshong.software (Tommy Groshong)</webMaster>
    <lastBuildDate>Mon, 13 May 2019 20:44:15 -0400</lastBuildDate>
    <atom:link href="https://tommygroshong.com/tags/graphql/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Practical Appsync &#43; Cognito for Single-Page Applications</title>
      <link>https://tommygroshong.com/posts/2019-05-13-appsync-cognito-cloudfront/</link>
      <pubDate>Mon, 13 May 2019 20:44:15 -0400</pubDate><author>tom@groshong.software (Tommy Groshong)</author>
      <guid>https://tommygroshong.com/posts/2019-05-13-appsync-cognito-cloudfront/</guid>
      <description>&lt;h2 id=&#34;introduction&#34;&gt;Introduction&lt;/h2&gt;
&lt;p&gt;If you want to get new-agey and deploy a &lt;a href=&#34;https://graphql.org&#34;&gt;GraphQL&lt;/a&gt; API in a &lt;em&gt;serverless&lt;/em&gt; architecture,
what&amp;rsquo;s the best way? You can make that work with API Gateway but it&amp;rsquo;s a little cludgey and normally results
in implementing a super Lambda function that contains all your GraphQL resolver logic.&lt;/p&gt;
&lt;p&gt;Lucky us! AWS has a GraphQL specific API proxy called AppSync. Last month, I did an
&lt;a href=&#34;https://tommygroshong.com/posts/2019-04-11-aws-appsync/&#34;&gt;article overviewing AppSync&lt;/a&gt; and concluded I would try it out on an upcoming
project. Well dear reader, I have done it and now I am bringing you my results!&lt;/p&gt;</description>
    </item>
    <item>
      <title>Overview of AWS AppSync</title>
      <link>https://tommygroshong.com/posts/2019-04-11-aws-appsync/</link>
      <pubDate>Thu, 11 Apr 2019 20:24:55 -0400</pubDate><author>tom@groshong.software (Tommy Groshong)</author>
      <guid>https://tommygroshong.com/posts/2019-04-11-aws-appsync/</guid>
      <description>&lt;h2 id=&#34;introduction&#34;&gt;Introduction&lt;/h2&gt;
&lt;p&gt;I recently learned about &lt;a href=&#34;https://aws.amazon.com/appsync/&#34;&gt;AWS AppSync&lt;/a&gt; while perusing A Cloud Guru
courses and stumbling on this one: &lt;a href=&#34;https://acloud.guru/learn/intro-aws-appsync&#34;&gt;&amp;ldquo;Introduction to AWS AppSync&amp;rdquo;&lt;/a&gt;.
I am excited! AppSync is a managed service for deploying GraphQL APIs. Think of it like
&lt;a href=&#34;https://aws.amazon.com/api-gateway/&#34;&gt;API Gateway&lt;/a&gt; but for GraphQL instead of HTTP requests.&lt;/p&gt;
&lt;p&gt;GraphQL is to AppSync as HTTP is to API Gateway.&lt;/p&gt;
&lt;p&gt;From the course learnin and my trials so far, the workflow breaksdown like this:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Upload a GraphQL schema document&lt;/li&gt;
&lt;li&gt;Configure data sources&lt;/li&gt;
&lt;li&gt;Map schema to data sources with resolvers&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Let&amp;rsquo;s do a quick dive into each.  I am gonna cheat and not go into a couple topics: authentication and
querying. I&amp;rsquo;ll save those for other posts.  But I am happy that AppSync supports AWS Cognito out-of-the-box.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
