hackx

Backend From Zero

32 / 35

What actually breaks

Not algorithms. Config. Every time.

ThingFix
.env in gitgitignore, rotate
No DATABASE_URLNeon + sslmode=require
Prisma env() type errorthe earlyAccess config
--config schema not founddon't pass --config
../../generated./generated/prisma/client.js from db.ts
Prisma 6 + client 7pin both 6.12.0
Mail Manager 250, empty inboxwe don't use SMTP. SES SDK in mail.ts
Spam + red bannerthat's normal. copy the token
Clicked localhost in webmailof course it failed
MessageRejectedTo isn't verified
Clone asks usernamerepo is private
Live /health ok, register 500incomplete .env. Add all club secrets in Actions (JWT, APP_URL, AWS keys, MAIL_FROM, DATABASE_URL) and redeploy
Actions green but old /healthpm2 didn't restart or pull failed. git log -1 on the box
ln then nginx missing filecreate the file first
Can't hit public IPopen port 80. http://IP/health. no domain needed
Bound to 127.0.0.10.0.0.0
NEW_REGIONtype ap-south-1
Keys in Discorddelete the key in IAM
Forgot Elastic IPit bills while you sleep