Skip to content

Writing

Notes from building things

11 articles on building, shipping, and debugging web software.

1 min read

A Drizzle Migration Error I Ran Into

the database schema and migration history are two separate things, and both need to stay in sync.

#drizzle#postgres#DB
2 min read

From React to Angular

As a React developer, learning Angular felt like walking into someone else's house and asking where they keep the forks. In React, life is simple

#angular#react
6 min

3 Email Problems (And How I Fixed Them)

While building my project, I ran into several email authentication problems that took hours to debug. Here are the three biggest ones and how I solved them.

#next.js#supabase#neon
5 min read

From Next.js to Android

When I started building Flowly, I chose to use Next.js. As a longtime JS/TS developer, a PWA seemed like the easiest path. But as the app releases, people ask me to make it an app.

#Next.js#Capacitor#pwa
5 min read

Solving Hydration Mismatches in Next.js

If you’ve ever opened Chrome DevTools to a wall of red text shouting about "Hydration Mismatches," you probably noticed your site suddenly felt sluggish. I hit this wall recently while building my portfolio. Here’s why it happens and how to fix it—without the technical headache.

#Next.js
5 min read

Pointing Hostinger to Vercel

When deploying a Next.js application to Vercel, connecting a custom domain is usually the final step. However, many developers run into the dreaded "Invalid Configuration" red warning like i do. Here is a breakdown of why this happens and how we fixed it for lozi.me(this page _: ) ) me and chatgpt.

#Hostinger#Vercel
2 min read

When MySQL Turned Against Me

The day started with Prisma Error P3018 (MySQL Error 1071). I learned the hard way that MySQL has strict index key length limits. Better-Auth uses long, secure identifiers and MySQL simply refused to cooperate.

#Zustand#Prisma#Better-Auth
2 min read

Deploying Next.js to cPanel

Deploying Next.js to cPanel isn’t straightforward. Most guides assume Vercel or a VPS, but shared hosting is still very common and yes, it can work. Here’s what I learned doing it the hard way.

#cpanel#next.js
1 min read

SSL, Self-Signed Certificates

The logs showed the real enemy: Error P1011: self-signed certificate in certificate chain

#vercel#Supabase
1 min read

Prisma 7 and the Architecture Wake-Up Call

Prisma 7 had other plans. Suddenly I was hit with errors like: “The datasource property url is no longer supported in schema files.”

#Prisma#Next.js
2 min read

“Works on My Machine” Until Vercel Says No

Every developer knows this moment. Locally, your app is flawless. The UI is smooth. The database responds instantly. You feel unstoppable.

#vercel#Supabase