Practical Appsync + Cognito for Single-Page Applications

Introduction If you want to get new-agey and deploy a GraphQL API in a serverless architecture, what’s the best way? You can make that work with API Gateway but it’s a little cludgey and normally results in implementing a super Lambda function that contains all your GraphQL resolver logic. Lucky us! AWS has a GraphQL specific API proxy called AppSync. Last month, I did an article overviewing AppSync 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! ...

May 13, 2019 · map[email:tom@groshong.software github:tgroshon gravatar:3ef06d69d25df6c31fb095cfc6b08178 linkedin:thomas-groshong-2b23aa28 name:Tommy Groshong stackoverflow:2631962 twitter:TommyGroshong]

Overview of AWS AppSync

Introduction I recently learned about AWS AppSync while perusing A Cloud Guru courses and stumbling on this one: “Introduction to AWS AppSync”. I am excited! AppSync is a managed service for deploying GraphQL APIs. Think of it like API Gateway but for GraphQL instead of HTTP requests. GraphQL is to AppSync as HTTP is to API Gateway. From the course learnin and my trials so far, the workflow breaksdown like this: Upload a GraphQL schema document Configure data sources Map schema to data sources with resolvers Let’s do a quick dive into each. I am gonna cheat and not go into a couple topics: authentication and querying. I’ll save those for other posts. But I am happy that AppSync supports AWS Cognito out-of-the-box. ...

April 11, 2019 · map[email:tom@groshong.software github:tgroshon gravatar:3ef06d69d25df6c31fb095cfc6b08178 linkedin:thomas-groshong-2b23aa28 name:Tommy Groshong stackoverflow:2631962 twitter:TommyGroshong]

Forms to Emails using AWS Lambda + API Gateway + SES

When deploying static websites, I am not a fan of provisioning servers to distribute them. There are so many alternatives that are cheaper, simpler, and faster than managing a full backend server: S3 buckets, Content-Delivery Networks (CDNs), etc. But the catch with getting rid of a server is now you don’t have a server anymore! Without a server, where are you going to submit forms to? Lucky for us, in a post-cloud world, we can solve this! ...

April 5, 2016 · map[email:tom@groshong.software github:tgroshon gravatar:3ef06d69d25df6c31fb095cfc6b08178 linkedin:thomas-groshong-2b23aa28 name:Tommy Groshong stackoverflow:2631962 twitter:TommyGroshong]