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
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
This post introduces a tool to keep your Yarn workspace and TypeScript project references in sync automatically.
I have been doing some research on how to do speech to text conversion. Initially, I thought there may be a good iOS app that I could simply use on my iPhone. But while there were a number of apps available to support dictation most of these seem to be focused on allowing you to … Continue reading Amazon Transcribe for Dictation
Please find an updated and extended version of this post here: The Ultimate Guide to TypeScript Monorepos. Project references in TypeScript are an amazing feature for building complex TypeScript projects. They enable dividing a large project into smaller, indepedent modules and thereby improving code organisation as well as compile times; since it is easier for TypeScript … Continue reading TypeScript Monorepo with Yarn and Project References
Next.js 11 includes an exciting new feature for dynamically optimising images using the <Image> tag. Unfortunately, this new feature does not play nicely with exporting a static version of the Next.js app using yarn next export by its very design. This is not great for serverless deployments, which often will rely on uploading the static … Continue reading Next.js 11 Images with Static Export
I was quite excited when I discovered that it is possible to embed gist links into WordPress blog posts, and they will render as syntax highlighted code: Gist embedded in Lambda Go Starter Project Since I write most of my posts in Markdown I would previously provide the code with Markdown code blocks, but these … Continue reading Do not use WordPress gist embeds
Serverless development allows deploying low-cost, low-maintenance applications. Go is an ever-more popular language for developing backend applications. With first rate support both in AWS Lambda and GCP Cloud Functions, Go is an excellent choice for serverless development. Unfortunately, setting up a flexible infrastructure and efficient deployment pipelines for Serverless applications is not always easy. Especially … Continue reading Lambda Go Starter Project