AWS HTTP APIs provides a new way to deploy REST-based APIs in AWS; providing a number of simplifications over the original REST APIs. However, when working with HTTP APIs we need to be aware of a few gotchas, such as what types to use for handler arguments. REST APIs also used to provide a way … Continue reading Enabling Compression for Lambda with AWS HTTP APIs
Category: JavaScript
Beginners Guide to DynamoDB with Node.js
In-depth guide for modelling data and setting up the basics. Also includes customisable template and boilerplate.
S3 and Typescript
AWS S3 is a cloud service for storing data using a simple API. In contrast to a traditional database, S3 is more akin to a file system. Data is stored under a certain path. The strengths of S3 are its easy to use API as well as its very low cost for storing data. While … Continue reading S3 and Typescript
SES, Terraform and TypeScript Starter Project
Amazon Simple Email Service (SES) is a serverless service for sending emails from your applications. Like other AWS services, you can send emails with SES using the AWS REST API or the AWS SDKs. In this article, I want to look at how to send emails using SES with TypeScript specifically. tl;dr Fork the automatically … Continue reading SES, Terraform and TypeScript Starter Project
Next.js 12 Templates
Next.js 12 templates with support for TypeScript, AWS deployment and detailed getting started guides.
Next.js + Bootstrap Boilerplate
Provides a ready-to-use project that combines Next.js + Bootstrap. Regularily and automatically updated.
Deploy Serverless Next.js to AWS with Terraform 1.1
Terraform for better or worse is frequently updated with new versions. Many of these introduce incompatibilities with previous versions that require manual rework of Terraform definitions as well as require updating the local or remote Terraform state. I originally developed a solution for deploying Next.js to AWS using Terraform version 0.12 and that has been … Continue reading Deploy Serverless Next.js to AWS with Terraform 1.1
Serverless API with TypeScript on AWS
There are many ways to stand up a REST API. Nearly every programming language provides a way for us to develop a simple web server, such as Express.js, Go Gin or Python Flask. However, with the advent of serverless computing, we need to rethink some of the fundamentals of how APIs are developed and deployed. … Continue reading Serverless API with TypeScript on AWS
TypeScript Types for AWS Lambda
TypeScript is an excellent language for writing AWS Lambda functions. Its flexible static typing allows for high developer productivity and since it can be transpiled into JavaScript, our code can be bundled into small deployment packages that allow for fast Lambda cold starts, without need for keeping 'warm' instances of our lambdas. I have recently … Continue reading TypeScript Types for AWS Lambda
The Ultimate Guide to TypeScript Monorepos
I've written a couple of posts about how to set up JavaScript and TypeScript Monorepos over the past three years (#1, #2, #3, #4, #5, #6, #7), and I kind of thought I had it all figured out - but I didn't. It turned out that for various reasons it is fiendlishly difficult to develop … Continue reading The Ultimate Guide to TypeScript Monorepos