Creating AWS HTTP APIs with Cognito Authorizers Using Node.js

Today is project twelve from my Twenty Projects in Twenty Days series! Yesterday, I published Voices of COVID which is a project aimed at hearing the voices of people impacted by COVID-19. Today, I’m looking at how to create an AWS HTTP API that has JWT authorizers with Amazon Cognito and Lambda handlers written in Node.js. If you want a more in-depth look at this you can take a look back at how I did this with the Serverless Framework in this blog post.

Let’s get started!

Chameleon - The Color API

Today is project five in my Twenty Projects in Twenty Days series! Yesterday, I revisited Nandolytics which showed how to create a homemade analytics service. Today, we’re looking at the latest version of my Chameleon Color Scheme API. This idea has been brewing since the first version I made several years ago. To see what we’re building today, check out the live demo for yourself here! Here’s what it looks like:

Screenshot of the Chameleon demo

Doing this allows us to use a host of AWS services including Lambda, DynamoDB, API Gateway, S3 and more! Let’s take a look now!

Developing Express.js-based Serverless Framework APIs

Today is the third installment of my Twenty Projects in Twenty Days series! We’ll be following up from yesterday’s post on creating a serverless Flask API on AWS by doing the same thing with Node.js and Express.js!

We’ll be using Express.js, Amazon Web Services, and the Serverless Framework to create a survey API to manage the same three entities as yesterday:

  • Customers
  • Surveys
  • Survey Responses

We’ll also be using the same data storage architecture as last time by using an Amazon DynamoDB table. Similarly, we’re keeping around the same Amazon API Gateway and AWS Lambda architecture. So let’s get to it!

New Serverless Flask Guide

New Serverless Flask Guide

I just created a free new guide to using Flask and Python to create a text-message greetings API with AWS Lambda and SNS.

New Serverless Guide to AWS HTTP APIS

New Serverless Guide to AWS HTTP APIS

In addition to my recent guide on using auth with the new AWS HTTP APIs and the Serverless Framework. I’ve started a more comprehensive guide the using AWS HTTP APIs.