The story of how one seemingly innocent PR, caused all hell to break loose in our CI/CD flows. Just about a week ago, a colleague of mine had to pull me in to have a look at some weird issues he was seeing.Our CI pipeline, specifically a Github action, that spins up a Docker container […]
Upgrading Prisma to Rust-free client in NestJS
In this article I’ll quickly go over the steps I took to update Prisma to the new rust free implementation, that is now “GA” as of Prisma version 6.16.0., as indicated by the recent blog on the topic: https://www.prisma.io/blog/rust-free-prisma-orm-is-ready-for-production Updating and configuring Prisma First things first, first we need to update to the most recent […]
Dockerizing and hosting a NestJS application
Part 1: Exploring and setting up NestJS Part 2: Dockerizing and hosting a NestJS application This is the second installment in my series about NestJS and becoming familiar with it. In this part of the series, I’d like to dive further into how and why I dockerized the setup. As with any new application, we […]
Exploring and setting up NestJS
I recently decided to do some more exploration of NestJS, as its a framework I’ve been interested in for a few years, and even dabbled in a bit. I have used it for a small project and built some services with it back in 2021 to test out how well we could implement a microservice […]
How I Built and Published My First Angular Library
I’ve always been curious about how writing code for a library differs from writing code for regular application. How is it different from writing normal application code. Is the setup more complicated, because you need to transpile to different versions? Is it vastly different between a frontend (React, Angular, etc.) library versus a NodeJS library? […]
Speed vs robustness when coding in Typescript
At the risk of sounding like a cliché I thought I’d share some thoughts on striking a balance between “speed” and “robustness”, working as a Typescript developer. I’ve always been a firm believer in picking the right tool for the job, whether that is applying the appropriate programming language, framework, library or delivery vehicle (ie. […]
What are Javascript “pure functions”?
Ever hear of ‘pure functions’ in Javascript – and Typescript by extension – and wonder what they are? Pure functions, can simply be described as functions that do not modify their inputs or create side effects. This is important because in Javascript where everything is dynamic by default, it is easy to completely change the […]
Converting a Typescript project from CJS to ESM – the ultimate how-to
The dreaded CommonJS (CJS) to EcmaScript Modules (ESM) conversion. As the Javascript ecosystem continues to evolve and we continue to standardize, one unfortunate side-product for us NodeJS users, is the conversion to ESM.Admitted, as most things Node, since it isn’t running in the browser context we don’t have to convert to ESM, and it likely […]
The game of business, from the perspective of a technical founder
This post will be less about Typescript and more about programming in general, specifically from the point of view of being a technical founder. If you’ve ever dabbled in server administration, fiddled with a raspberry pi, been curious about new technology outside work, or you identify as someone with an explorative or entrepreneurial gene, this […]
To framework, or not to framework, that is the decision
Lately I’ve found myself with renewed urge to learn new things through building new. Usually that starts with a good idea “damn, it would be cool to build X!” – you know the feeling. But being a bit of a perfectionist (it’s something I’m working on), the dreams of features quickly becomes consumed by other […]