Blogs

Caching & change detection Turborepo and Github Actions

"Remote Caching" I recently worked on a project with Turborepo and wanted to setup caching without using Vercel's proprietary Remote Caching. I also wanted change detection to only deploy things…

Easily hide/modify output using tRPC middleware

When using tRPC, it's easy to run into a problem of duplicating output logic to try to hide/modify/change the output consistently. I'm going to show you how you can use tRPC middleware to dedupe…

SaaS Journey - Update #1

I'm on a journey to bootstrap a profitable SaaS application. I want to document it here for others and to hold myself accountable. I've been talking about doing this for years and feel like it's…

How to get the count of a relationship using Prisma

Example Problem Imagine we want to build a page to display all our posts including the number of comments on each post. Something like this... Posts Page Prisma Schema Let's start off by defining a…

February 2022 Health Goal Update

I wanted to give a quick update on my health goal for the year. Feel free to check out my previous blog post where I talked about the health goals I have set for 2022. My long term goal is to weigh…

2022 goals

Man, it's 2022 already. Another year has passed, and I still suck at meeting my goals. 🤣 I want to walk through a quick review and talk about my new goals for this year. Feel free to check out my…

How to setup a dynamic sitemap.xml file on Netlify

I recently migrated my site to use Remix hosted on Netlify. I wanted to setup a dynamic sitemap.xml file using Netlify functions. Remix already runs on a Netlify function, so I just created a…

Say Goodbye to Gatsby and Hello to Remix

New Year. New Me. New Blog. I rewrote my blog to use Remix. The latest hottest new full stack framework to hit Javascript. My previous version of the blog was using Gatsby.js. I decided to try this…

Use Netlify Functions to upload files to Google Drive

I recently worked on a project where the client wanted to upload images to Google Drive from their Wordpress site. They wanted a custom built image uploader that could allow the users to drag and…

Pilot

Hi there. My name is Devin. Welcome to my blog. I'm just getting it all setup and tweaking the right way. I'm using Gatsby and Netlify and it has been really fun getting setup. I'm excited to start…