Currently writing about: AWS, React.js, Node.js, TypeScript, friction logs.

All results for tag: typescript

Using the AWS CDK to send a serverless Slack message

Follow along to send a simple message to Slack by using the AWS SDK to trigger a JavaScript Lambda function on a timed cron job that has NPM dependencies required.

7 min read


Getting Started With React + TypeScript + Tailwind + Classnames In Minutes

Get up and running with Tailwind faster than your bread takes to toast

4 min read


Creating and using AWS Secrets from the CDK and CLI

A quick overview of adding/retrieving secrets for AWS

3 min read


Prompting New App Versions With The Service Worker And Create-React-App

Look at how we can work around one of the Service Worker's biggest misunderstanding

4 min read


Align TypeScript Standards With JSON Schema

Using TypeScript to standardise types across the board using JSON Schema

4 min read


Self-Destructing Tweets

A look into how you can run a cron job to self-destruct tweets

6 min read


Webpack 5 Builds for AWS Lambda Functions with TypeScript

Using Webpack 5 to build lambdas for AWS deployments

5 min read


Deploying Static Websites To AWS S3 + CloudFront + Route53 Using The TypeScript AWS CDK

Use the TypeScript AWS CDK to deploy static sites to S3 with a CloudFront distribution and Route53 setup for a custom domain.

8 min read


Taking Stripe Payments With Next.js 10, TypeScript 4, React 17 and Vercel

Learn how to create a test Stripe example, update that example and deploy to Vercel for a Stripe payment gateway, React 17, TypeScript 4 and Next.js 10

10 min read


Building A Design System Package With Storybook, TypeScript And React In 15 Minutes

Have you ever wanted to build a UI Component Library with TypeScript and React? This blog post will take you through a straightforward set up that uses the bare minimum to get a working component library that you can re-use across your different React projects.

8 min read


Releasing workingoutloud.dev

A Sunday morning product built to help be more public about my work and day-to-day life.

1 min read


AWS CDK With Typescript Foundations

Get started with the AWS CDK in TypeScript and learn some of the foundational work for upcoming tutorials.

12 min read


Using The AWS CDK With LocalStack And aws-cdk-local

Speed up your local AWS CDK development but using LocalStack and the AWS CDK Local wrapper package.

5 min read


Building A CDN With S3, Cloudfront And The AWS CDK

Use the TypeScript AWS CDK to deploy an S3 Bucket fronted by a CloudFront CDN and Route53 record.

13 min read


DynamoDB With LocalStack And The AWS CDK (Part 1)

A walkthrough on how to deploy a local DynamoDB table to LocalStack with the AWS TypeScript CDK.

10 min read


DynamoDB With LocalStack And The AWS CDK (Part 2)

The second part of this demo will show how to interact with our DynamoDB table using DynamoDB Toolbox.

6 min read


Deploying A Fargate Cluster With LocalStack And The AWS CDK

Use the ECS patterns library to deploy a simple Fargate cluster to LocalStack.

11 min read


Deploying An EKS Fargate Cluster With The AWS CDK (Part 1)

Deploy a Kubernetes Fargate on EKS cluster using the AWS CDK.

4 min read


Python Lambda Functions Deployed With The Typescript AWS CDK

Deploy a simple Python lambda function with the TypeScript AWS CDK to LocalStack.

7 min read


Building Typescript NPM Packages With Parcel 2

See how easy it is to build a TypeScript NPM package using Parcel 2.

8 min read


Scheduling One-Off Cron Jobs With AWS EventBridge And AWS Lambda

Reduce instances and costs for single-run cron jobs by using AWS EventBridge rules to trigger AWS Lambda functions.

8 min read


Next.js Enterprise Project Structure

Set yourself up for success in large Next.js project structures by following this opinionated layout.

12 min read


Create Stripe Subscription Products From The CLI

Create new Stripe subscription products from a simple TypeScript script.

3 min read


Generating DBML Files From A Prisma Schema

Output DMBL files from your Prisma schema and see how you can view it online.

4 min read


Generating JSON Schema From Typescript Types

Use the ts-json-schema-generator package to generate a valid JSON schema from your TypeScript types.

3 min read


Discriminated Unions In Typescript

Peel back some of the magic behind discriminated union in TypeScript and how they impact your workflow.

11 min read


Exploring the Tremor dashboard UI library

A look at implementing beautiful graph UI components quickly with Tremor.

4 min read


Using The New Vercel Open Graph Image Generation

Following the release of Satori and Vercel's new open graph image generation, follow along as I demonstrate how I updated my own open graph images for the blog.

6 min read


A Practical Look At The "Unknown" Type In Typescript

Ever wanted to better understand the unknown type? This blog post walks you through a practical setup and look at working with the unknown type.

8 min read


The Benefits of Combining Static Site Generation with Incremental Static Regeneration

Learn how you can statically generate pre-determined Next.js pages using a database for improved build times while still allowing for dynamic content to be generated on the fly.

9 min read


Understanding Advance Type Inference In Typescript

Advanced Use Case: Exploring type inference with conditional types and more complex generic patterns.

7 min read


Mastering Conditional Types In Typescript

See the T extends U ? X : Y syntax in action with simple examples.

6 min read


Exploring Typescript Mapped Types And Transformations

Mapped types are a powerful feature that enable us to take existing types and generate new types from them on the fly.

3 min read


Ensuring Type Safety With Type Guards

Implementing custom type guards for a complex type validation with deep object structures.

5 min read


Next.js + Vercel AI Package In Action

Get started with the new Vercel AI SDK in this quick demo with NextJS.

7 min read


TypeScript Decorators: An Introduction To Metadata And Annotation

Decorators, a proposed feature for JavaScript, are already available as an experimental feature in TypeScript. See an example of decorators in action in this post exploring the topic.

5 min read


Advanced Typescript Generics In Practice

A look at different implementations of generics for more specific use cases.

4 min read


Harnessing The Power Of The keyof Operator

See how we can use the TypeScript operator keyof to dig into our types.

2 min read


Typescript Modules For Organizing And Sharing Code Effectively

This post covers the basics of modules in TypeScript.

3 min read


Advanced Union And Intersection Types In Typescript

A practical explanation of how union and intersection types work.

4 min read


Typescript And Functional Programming

Implement your own map function with TypeScript.

3 min read


Typescript And Promises: Conquering Asynchronous Programming

See how TypeScript is used with async promises.

4 min read


Diving Into Typescript's Type System: Type Operators

Join me as we dive deep into TypeScript's type operators, including keyof, index types, and index signatures. I'll be guiding you through practical examples that you can follow along with in the TypeScript Playground. Master these powerful tools with me to boost your TypeScript's code reliability and predictability with an advanced type system.

4 min read


Explaining CJS vs AMD vs UMD vs ESM

One of the JavaScript ecosystems biggest pain points. What are they and why do library maintainers hurt inside when they have to support them all?

9 min read


Mounting Your Own Cloud Storage With Cloud Mounter and AWS

After another failed hard drive meant losing data, I decided to look into mounting my own cloud storage. Here is how I did it.

7 min read


Using Prisma For Migrations And DrizzleORM For Querying

This post is for you if you are migrating across from a Prisma application or just want to check out the performance difference with DrizzleORM.

6 min read


Type-safe usage of React as a prop for flexible components

Ever wondered how design systems provide an 'as' prop for their components that you can use to inject or change the component type? Let's look at how we can do this with TypeScript.

8 min read


Dependency Injection with InversifyJS

Learn how we can use InversifyJS to help dependency injection with it's inversion of control container.

9 min read


Creating a Result Type in TypeScript

In this blog post, we take a look at libraries such as EffectTS, Zod, Valibot and Joi to understand how they approach a Result-like type and how we could approach building our own.

26 min read


Resource Management in TypeScript

We look into implementing the Acquire and Release Pattern in TypeScript for creating a sequence of operations with compensating actions on failure.

12 min read


Dennis O'Keeffe

2020-present Dennis O'Keeffe.

All Rights Reserved.