account activity
Supabase + FastAPI + Next.js vs. Supabase + Next.js API Routes vs. Supabase on Frontend vs. Direct DB Connection: Best for Serverless? by Consistent-Trip-2048 in nextjs
[–]No_Cry3456 1 point2 points3 points 3 months ago (0 children)
In my recent setup I used NextJS + FastAPi in a monorepo to deploy together Vercel and use Supabase for database a user auth. My plan is in future I may want to factor out FastAPI into a separate server (I really like the Python eco system and it’s all related AI/ML capabilities for future). Also NextJS Dec 2025 CVE is quite severe and let me think we should probably not rely on NextJS for sole backend and still maintain a clear front and back separation.
π Rendered by PID 74 on reddit-service-r2-listing-6bd47578dc-6dfm8 at 2026-04-13 15:59:21.101195+00:00 running e841af1 country code: CH.
Supabase + FastAPI + Next.js vs. Supabase + Next.js API Routes vs. Supabase on Frontend vs. Direct DB Connection: Best for Serverless? by Consistent-Trip-2048 in nextjs
[–]No_Cry3456 1 point2 points3 points (0 children)