Front-End Web & Mobile
Category: Serverless
AWS AppSync now supports projection expressions in DynamoDB resolvers
AWS AppSync is a fully managed service that makes it easy to create and manage GraphQL and real-time APIs. Now, AWS AppSync API developers who use DynamoDB data sources can define projection expressions in their DynamoDB resolvers. Before today, DynamoDB resolvers for AWS AppSync APIs would retrieve all the attributes from a DynamoDB table. Now, […]
re:Invent 2022 Wrapped: a Playlist for Web and Mobile App Developers
With 2022 in the rear view, re:Invent attendees have since unpacked their swag and organized a few gigabytes of photos from presentations, booth visits, and evening events. Those who attended virtually have long lists of notes, bookmarks, and questions for the AWS Amplify Discord. Finally, developers that weren’t able to attend are likely asking, “What […]
The fullstack guide to using AWS AppSync and MongoDB Atlas
AWS AppSync is a fully managed service that makes it simple to build scalable APIs for web and mobile applications. It allows you to create APIs that access data from a variety of sources, including databases, serverless functions, and other AWS services. With AWS AppSync, you can build APIs that support real-time data via WebSockets, […]
Use AWS CDK v2 with the AWS Amplify CLI extensibility features (Preview)
With v11.0.0-beta of the Amplify CLI, you can now use AWS CDK v2 to extend or modify your Amplify backend stack. As a recap, at re:Invent 2021, Amplify CLI (v7+) announced a number of extensibility features that gave developers the flexibility to modify their Amplify backend using infrastructure-as-code providers such as AWS CDK or AWS […]
Managing images in your NextJS app with AWS AppSync and the AWS CDK
In modern applications, sharing files is as much a necessity as having a database or authentication. When working with AWS, a common storage solution is to use Amazon Simple Storage Service (S3) where files are stored in an S3 bucket. The problem however, is a file often needs to be associated with data stored in […]
Deploy a NextJS 13 application to Amplify with the AWS CDK
Modern application development often includes features such as authentication, API setup, and file storage. In a previous post we saw how AWS Amplify and the AWS CDK manage the undifferentiated heavy-lifting of standing up these services. However, without a hosting platform your customers would never see your product. Fortunately, AWS Amplify Hosting is a platform […]
Secure AWS AppSync with Amazon Cognito using the AWS CDK
In a previous post, we explored how a public API Key for AWS AppSync provides a simple way of allowing access to resources, however, it does come with the following tradeoffs: Expiring after a certain amount of time. The key is passed on the x-api-key header of the request. Making it easy for bad actors […]
Creating serverless GraphQL APIs from RDS databases with AWS AppSync and PostGraphile
GraphQL is a query language for APIs that provides an understandable description of the data in your API, and that allows clients to ask for data in the shape that they need it. GraphQL helps developers implement applications faster, by giving developers the ability to query multiple databases, microservices, and APIs with a single GraphQL […]
Implement Multi-Region Serverless (and Functionless) WebSocket Pub/Sub APIs with AWS AppSync and Amazon EventBridge
AWS AppSync allows developers to easily implement engaging real-time application experiences by automatically publishing data updates to subscribed API clients via serverless WebSockets connections. With built-in support for WebSockets, AppSync can seamlessly push data to clients that choose to listen to specific events from the backend. This means that you can easily and effortlessly make […]
Configure environment variables and secrets for your Lambda functions with Amplify CLI
With the recent release, Amplify CLI allows you to set environment variables and secrets for your Lambda functions. This feature is available as an advanced setting in Amplify’s “Function” category and allows you to configure environment variables and secrets interactively. The secrets configuration uses AWS Parameter Store backed by a “SecureString” parameter. In addition, this […]