My Experience Deploying a Side Project with Next.js + Supabase
I built a small reservation management tool over the weekend. I used Next.js App Router for the frontend, Supabase for the database, and Vercel for deployment.
Supabase Auth and RLS setup were confusing at first, but after reading the docs and setting up a few policies, I got the hang of it quickly. The free tier seems more than enough for a side project.
That said, Vercel cold starts feel a bit slow? Still, I'm satisfied with it for a personal project. If anyone is using a similar stack, please share your tips.
8 answers
Agreed — the stack combination is solid and good.
Vercel cold starts? Isn’t that happening because your function region and Supabase region don’t match? For me, setting both to Tokyo made it feel like a huge reduction. Where did you set your regions?
I struggled with Supabase RLS for a few days at first too, but the fastest way to test policies was just hitting it directly with curl using the anon key. In the dashboard SQL editor, switching set role around to check makes it easy because it immediately shows you where things are getting blocked. Auth is a bit annoying when it comes to customizing email templates, but hey, it’s free...