Eight Examples of Fetching Data from DynamoDB with Node.js

I frequently see people looking for simple examples of how to use one of AWS' SDKs to do simple operations on DynamoDB and other services. So I thought it was about time we had a few examples to work from that weren’t completely overwhelming. In this post, I’ll show you a few ways to use the AWS SDK for JavaScript to get data out of a DynamoDB table. I hope these will serve as a decent reference for many basic operations you might need to take to read information from your DynamoDB tables!

Adding Lambda Authorizers to your Serverless Applications

So you’ve developed a snazzy new Serverless API on AWS and everything is going great. That is until you realize that there might eventually be production data behind it that you don’t want someone with Postman and 20 minutes on their hands to have access to. That’s where Lambda Authorizers come in. They’re a way to make sure that your API will only respond to authorized callers. Let’s look at how to implement authorizers for ourselves using an example application called Serverless Jams - where we vote on our favorite coding-related music.

My Newest Free Course - Serverless for Frontend Developers

My Newest Free Course - Serverless for Frontend Developers

I have a new three-hour long course on building serverless applications from the perspective of a frontend developer. Some of the things you’ll learn include:

  • How to deploy serverless frontends on AWS with SSL, a custom domain, and the CloudFront CDN
  • How to spin up your first backend APIs with the Serverless Framework
  • How to integrate Auth0 into your frontend
  • How to use Auth0 to secure your backend APIs

The best part? It’s 100% free! Feel free to check it out here. Let me know what you think on Twitter!

New AWS API Gateway v2 for HTTP APIs

New AWS API Gateway v2 for HTTP APIs

During AWS re:Invent this year AWS announced a new way to make HTTP APIs with API Gateway v2. It now includes things like native support for JSON Web Tokens (JWTs) and a vastly simplified number of AWS resources to get an API up and running. You can read about all the updates here in my post on the Serverless Blog.

November 2019 - New AWS Lambda Features

November 2019 - New AWS Lambda Features

AWS recently annouced a bunch of new features for Lambda. You can read my summary and analysis of the new features on the Serverless Blog here in my post on the Serverless Blog. Disclosure: While I have used the Serverless Framework for years, as of this posting I am employed by Serverless Inc. (the makers of the Serverless Framework).