Writing
Notes from building things
11 articles on building, shipping, and debugging web software.
A Drizzle Migration Error I Ran Into
the database schema and migration history are two separate things, and both need to stay in sync.
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
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.
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.
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.
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.
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.
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.
SSL, Self-Signed Certificates
The logs showed the real enemy: Error P1011: self-signed certificate in certificate chain
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.”
“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.