hackx
Backend From Zero (32 / 35)

Failure modes

Live demos almost never die on clever algorithms. They die on config. Here's the usual cast.

What goes wrongWhat you do
.env in gitgitignore it, rotate secrets
Missing DATABASE_URLpaste Neon string with sslmode=require
Forgot prisma generaterun it after install on the server
Plaintext passwordsbcrypt. always.
Bound to 127.0.0.1listen on 0.0.0.0
SES From unverifiedverify the identity first
Idle EC2 + Elastic IPteardown before you leave the room